public CreatePhotoRequestHandler( INetworkCommunication networkCommunication, IFileCommunication fileCommunication ) { _networkCommunication = networkCommunication; _fileCommunication = fileCommunication; }
public PhotoListResponseHandler( INetworkCommunication networkCommunication, IFileCommunication fileCommunication ) { _networkCommunication = networkCommunication; _fileCommunication = fileCommunication; }
public GameClient(INetworkCommunication com) { m_data = new byte[256]; m_com = com; m_com.Initialize(); m_msgQueue = new MessageQueue(); }
public void AddNetworkCommunication(INetworkCommunication netCom, INetworkAddress address) { m_netComs.Add(netCom); if (address == null) { m_defaultSendCom = netCom; } else { m_addrToCom[address] = netCom; } }
public GameServer(INetworkCommunication networkCommunication) { m_data = new byte[256]; ClientInfos = new ClientInfo[2]; m_com = networkCommunication; }
public MessageCommunication(NetworkStream networkStream) { _networkCommunication = new NetworkCommunication(networkStream); _fileCommunication = new FileCommunication(networkStream); }
public CommentPhotoResponseHandler( INetworkCommunication networkCommunication ) { _networkCommunication = networkCommunication; }
public UserListResponseHandler( INetworkCommunication networkCommunication ) { _networkCommunication = networkCommunication; }
public LoginResponseHandler(INetworkCommunication networkStream) { _networkStream = networkStream; }
public FileCommunication(NetworkStream stream) { _networkCommunication = new NetworkCommunication(stream); // TODO: DEPENDENCY INJECTION }
public PhotoListRequestHandler(INetworkCommunication networkCommunication) { _networkCommunication = networkCommunication; }
public CreateUserRequestHandler(INetworkCommunication networkStream) { _networkStream = networkStream; }
public static void Initialize(INetworkCommunication networkCommunication) { MBNetwork.VirtualPlayers = new VirtualPlayer[511]; MBNetwork.NetworkPeers = new List <ICommunicator>(); MBNetwork.NetworkViewCommunication = networkCommunication; }
public DelayedNetworkCommunication(INetworkCommunication com) { m_com = com; Updater.Create("DelayedNetworkCommunicationUpdater", Update); }
public ErrorResponseHandler(INetworkCommunication networkCommunication) { _networkCommunication = networkCommunication; }
public CommentListRequestHandler(INetworkCommunication networkCommunication) { _networkCommunication = networkCommunication; }
public LoginRequestHandler(INetworkCommunication networkStream) { _networkStream = networkStream; }