Ejemplo n.º 1
0
 public GetAllUserConnectedOption(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     _allChatDetails  = allChatDetails;
     _name            = name;
 }
Ejemplo n.º 2
0
 public ExitChatOption(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     Name             = name;
     _allChatDetails  = allChatDetails;
 }
Ejemplo n.º 3
0
 public OperationExecuteFactory(IClientModel userClient, AllChatDetails allChatDetails, IContainerInterfaces containerInterfaces)
 {
     _containerInterfaces = containerInterfaces;
     _allChatDetails      = allChatDetails;
     _userClient          = userClient;
     BuildCommands();
 }
 public SeverHandler(TcpClient client, AllChatDetails allChatDetails)
 {
     _allChatDetails  = allChatDetails;
     _client          = client;
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
 }
        public AddUserToGroupOption(IClientModel userClient, AllChatDetails allChatDetails, IContainerInterfaces containerInterfaces)
        {
            _userClient          = userClient;
            _containerInterfaces = containerInterfaces;

            _allChatDetails = allChatDetails;
        }
Ejemplo n.º 6
0
        public GroupChatCreatorOption(IClientModel userClient, AllChatDetails allChatDetails, IContainerInterfaces containerInterfaces)
        {
            _userClient          = userClient;
            _containerInterfaces = containerInterfaces;

            _allChatDetails = allChatDetails;
        }
        public RemoveAdminPermissionOption(IClientModel userClient, AllChatDetails allChatDetails , IContainerInterfaces containerInterfaces)
        {
            _userClient = userClient;
            _containerInterfaces = containerInterfaces;

            _allChatDetails = allChatDetails;
        }
Ejemplo n.º 8
0
 public RemoveAdminPermissionOption(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     Name             = name;
     _allChatDetails  = allChatDetails;
 }
 public RemoveUserFromGroupOption(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     Name             = name;
     _allChatDetails  = allChatDetails;
 }
Ejemplo n.º 10
0
 public OperationExecuteFactory(string name, AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     _allChatDetails  = allChatDetails;
     Name             = name;
 }
        public ServerSocket(int port)
        {
            _globalChatModel = new GlobalChat();
            AllChatDetails = new AllChatDetails();
            AllChatDetails.AddChat(_globalChatModel);

            Port = port;
            Listener = new TcpListener(Port);
        }
Ejemplo n.º 12
0
        public ServerSocket(int port, IContainerInterfaces containerInterfaces)
        {
            _containerInterfaces = containerInterfaces;
            _globalChatModel     = new GlobalChat();
            AllChatDetails       = new AllChatDetails();
            AllChatDetails.AddChat(_globalChatModel);

            Port     = port;
            Listener = new TcpListener(Port);
        }
 public PrivateChatCreatorOption(IClientModel userClient, AllChatDetails allChatDetails)
 {
     _userClient     = userClient;
     _allChatDetails = allChatDetails;
 }
Ejemplo n.º 14
0
 public InsertToChatOption(AllChatDetails allChatDetails, IContainerInterfaces containerInterfaces)
 {
     _containerInterfaces = containerInterfaces;
     _allChatDetails      = allChatDetails;
 }
Ejemplo n.º 15
0
 public SeverHandler(TcpClient client, AllChatDetails allChatDetails, IContainerInterfaces containerInterfaces)
 {
     _allChatDetails      = allChatDetails;
     _client              = client;
     _containerInterfaces = containerInterfaces;
 }
 public InsertToChatOption(AllChatDetails allChatDetails)
 {
     _requestHandler  = new ServerRequestHandler();
     _responseHandler = new ServerResponseHandler();
     _allChatDetails  = allChatDetails;
 }
Ejemplo n.º 17
0
 public GroupChatCreatorOption(string name, AllChatDetails allChatDetails)
 {
     Name            = name;
     _allChatDetails = allChatDetails;
 }
 public PrivateChatCreatorOption(string name, AllChatDetails allChatDetails)
 {
     Name            = name;
     _allChatDetails = allChatDetails;
 }
 public MessageHistoryOption(IClientModel userClient, AllChatDetails allChatDetails, IContainerInterfaces containerInterfaces)
 {
     _userClient          = userClient;
     _allChatDetails      = allChatDetails;
     _containerInterfaces = containerInterfaces;
 }
 public GetAllChatOption(IClientModel userClient, AllChatDetails allChatDetails, IContainerInterfaces containerInterfaces)
 {
     _containerInterfaces = containerInterfaces;
     _allChatDetails      = allChatDetails;
     _userClient          = userClient;
 }