public override void execute()
    {
        ISocketConnect      connect       = mReceiver as ISocketConnect;
        SocketConnectServer connectServer = connect as SocketConnectServer;

        connectServer?.notifyAcceptedClient(mSocket, mIP);
    }
Exemplo n.º 2
0
 public override void resetProperty()
 {
     base.resetProperty();
     zeroParams();
     mClientID = 0;
     mClient   = null;
     mConnect  = null;
     // mPacketID,Type不需要重置
     // mPacketID = 0;
     // mType = null;
 }
Exemplo n.º 3
0
 public uint mClientID;              // 客户端ID
 public void setConnect(ISocketConnect connect)
 {
     mConnect = connect;
 }