public ContractManager() : base("Contract Manager")
 {
     MessageNumber.SetSeqNumber(4923);
     MyProcessInfo.Type         = ProcessInfo.ProcessType.ContractManager;
     MyProcessInfo.Status       = ProcessInfo.StatusCode.NotInitialized;
     MyProcessInfo.AliveRetries = 5;
     MyProcessInfo.EndPoint     = LocalEndpoint;
     MyProcessInfo.Label        = "Contract Manager";
     ConversationManager.RegisterNewConversationTypes(GetValidConversations());
 }
Exemple #2
0
 public AuthManager() : base("AuthManager")
 {
     MessageNumber.SetSeqNumber(84);
     HeartbeatIntervalMs        = 30000;
     KnownClients               = new Dictionary <int, ProcessInfo>();
     PendingHeartbeatReplies    = new Dictionary <MessageNumber, int>();
     MyProcessInfo.ProcessId    = 0;
     MyProcessInfo.Type         = ProcessInfo.ProcessType.AuthenticationManager;
     MyProcessInfo.Status       = ProcessInfo.StatusCode.NotInitialized;
     MyProcessInfo.AliveRetries = 5;
     MyProcessInfo.Label        = "Authentication Manager";
     ContractManagerInfo        = null;
     ConversationManager.RegisterNewConversationTypes(GetValidConversations());
 }