示例#1
0
 public static IDisconnectedClientProccessor CreateDisconnectedClientProccessor(IClientsProcessor clientsProccessor)
 {
     if (_DisconnectedClientProccessor == null)
     {
         _DisconnectedClientProccessor = new DisconnectedClientProccessor(clientsProccessor);
     }
     return(_DisconnectedClientProccessor);
 }
 public static IDisconnectedClientProccessor CreateDisconnectedClientProccessor(IClientsProcessor clientsProccessor)
 {
     if (_DisconnectedClientProccessor == null)
         _DisconnectedClientProccessor = new DisconnectedClientProccessor(clientsProccessor);
     return _DisconnectedClientProccessor;
 }
 public AgentController(IClientsProcessor clientsProccessor, ICommandTransfer commandTransfer, IDisconnectedClientProccessor disconnectedClientProccessor)
 {
     _ClientsProcessor             = clientsProccessor;
     _CommandTransfer              = commandTransfer;
     _DisconnectedClientProccessor = disconnectedClientProccessor;
 }
 public AgentController(IClientsProcessor clientsProccessor, ICommandTransfer commandTransfer, IDisconnectedClientProccessor disconnectedClientProccessor)
 {
     _ClientsProcessor = clientsProccessor;
     _CommandTransfer = commandTransfer;
     _DisconnectedClientProccessor = disconnectedClientProccessor;
 }