Ejemplo n.º 1
0
 public ExitChatOption(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     Name             = name;
     _allChatDetails  = allChatDetails;
 }
Ejemplo n.º 2
0
 public GetAllUserConnectedOption(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     _allChatDetails  = allChatDetails;
     _name            = name;
 }
 public SeverHandler(TcpClient client, AllChatDetails allChatDetails)
 {
     _allChatDetails  = allChatDetails;
     _client          = client;
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
 }
 public RemoveUserFromGroupOption(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     Name             = name;
     _allChatDetails  = allChatDetails;
 }
Ejemplo n.º 5
0
 public OperationExecuteFactory(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     _allChatDetails  = allChatDetails;
     Name             = name;
 }
Ejemplo n.º 6
0
 public RemoveAdminPermissionOption(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     Name             = name;
     _allChatDetails  = allChatDetails;
 }
 public InsertToChatOption(AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     _allChatDetails  = allChatDetails;
 }
Ejemplo n.º 8
0
 public ContainerInterfaces(IServerRequestHandler requestHandler, IServerResponseHandler responseHandler, ILogger <Worker> logger)
 {
     RequestHandler  = requestHandler;
     ResponseHandler = responseHandler;
     Logger          = logger;
 }