Exemple #1
0
        public Protocol()
        {
            packet = new PacketLayer();
            packet.OnClose += packet_OnClose;
            packet.OnPacket += packet_OnPacket;

            incoming = new Dictionary<long, MsgInfo>();
            outgoing = new Dictionary<long, MsgInfo>();
        }
Exemple #2
0
        public Protocol()
        {
            packet           = new PacketLayer();
            packet.OnClose  += packet_OnClose;
            packet.OnPacket += packet_OnPacket;

            incoming = new Dictionary <long, MsgInfo>();
            outgoing = new Dictionary <long, MsgInfo>();
        }