Esempio n. 1
0
        //overwrides
        /// <summary>
        /// called by the framework when recieving data from the remote computer
        /// this method must be overwride.
        /// use this function to concatinate many recieved data into one message
        /// when the message end fire the event MessageEnd().
        /// </summary>
        /// <param name="buff"></param>
        protected void Parse(byte[] buff)
        {
            MessageEndEventArgs e = new MessageEndEventArgs();

            e.m_buff = buff;
            MessageEnd(this, e);
        }
Esempio n. 2
0
 protected void OnMessageEnd(object Sender, MessageEndEventArgs e)
 {
 }