Configuration for Broker.
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
namespace MessengerBroker.Configuration.Model.Servers.Base
|
||||
{
|
||||
public class Server
|
||||
{
|
||||
public Guid BrokerId { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
using MessengerBroker.Configuration.Model.Servers.Base;
|
||||
|
||||
namespace MessengerBroker.Configuration.Model.Servers
|
||||
{
|
||||
/// <summary>
|
||||
/// Server that we have to pull data from and provide alternate service for.
|
||||
/// </summary>
|
||||
public class MasterServer : Server
|
||||
{
|
||||
/// <summary>
|
||||
/// Url of the Broker API we use to download the data.
|
||||
/// </summary>
|
||||
public string BrokerUrl { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
using MessengerBroker.Configuration.Model.Servers.Base;
|
||||
|
||||
namespace MessengerBroker.Configuration.Model.Servers
|
||||
{
|
||||
/// <summary>
|
||||
/// Server that is pulling data from us and has to provide alternate service for us.
|
||||
/// </summary>
|
||||
public class SlaveServer : Server
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user