Example #1
0
 public MEETRecvPacket(MType type, BinaryReader br, DateTime dt,
                       MEETSockConnection conn) : base(type)
 {
     m_br       = br;
     m_recvTime = dt;
     m_conn     = conn;
 }
Example #2
0
        // public UdpListenerThread(MEETNode node, MEETIFace iface)
        //	: this(node, iface, UDPLISTENER_DEFAULT_PORT) {}

        public MEETUdpSockListener(
            string theName,
            MEETContainer theContainer,
            MEETSockConnection conn,
            MEETPCQueue meetQ
            ) : base(theName, theContainer, conn, meetQ)
        {
            buffer = new byte[UDP_BUF_SIZE];
        }
 public MEETSockSender(
     string theName,
     MEETContainer theContainer,
     MEETSockConnection conn,
     MEETPCQueue inputQ
     ) : base(theName, theContainer, inputQ)
 {
     m_conn = conn;
 }
Example #4
0
        // public UdpListenerThread(MEETNode node, MEETIFace iface)
        //	: this(node, iface, UDPLISTENER_DEFAULT_PORT) {}

        public MEETSockListener(
            string theName,
            MEETContainer theContainer,
            MEETSockConnection conn,
            MEETPCQueue recvQ
            ) : base(theName, theContainer)
        {
            m_conn  = conn;
            m_recvQ = recvQ;
        }
 public MEETTcpSockSender(
     string theName,
     MEETContainer theContainer,
     MEETSockConnection conn,
     MEETPCQueue inputQ) : base(theName, theContainer, conn, inputQ)
 {
     buffer = new byte[1400];
     ms     = new MemoryStream(buffer);
     bw     = new BinaryWriter(ms);
     bw.Write(MEETPacket.MEET_MAGIC);
 }
Example #6
0
 public MEETTcpSockListener(
     string theName,
     MEETContainer theContainer,
     MEETSockConnection conn,
     MEETPCQueue meetQ
     ) : base(theName, theContainer, conn, meetQ)
 {
     //
     // TODO: Add constructor logic here
     //
 }