Esempio n. 1
0
        public INetConnector(IPacketFormat packetFormat, IPacketHandlerManager packetHandlerManager)
        {
            mUid = -1;
            mRemoteHost = null;
            OnConnected = null;
            OnRecieved = null;
            OnDisconnected = null;
            OnError = null;

            mPacketFormat = packetFormat;
            mPacketHandlerManager = packetHandlerManager;
        }
Esempio n. 2
0
 public virtual void Connect(string address, int port)
 {
     mRemoteHost = new RemoteHost(address, port);
     // return false;
 }