예제 #1
0
        /// <summary>
        ///  Send a Entity to queue
        /// </summary>
        /// <param name="packet">SendPacket</param>
        /// <returns>SendPacket</returns>
        public SendPacket Send(SendPacket packet)
        {
            packet.SetBlinkConn(this);

            mSendDispatcher.Send(packet);

            return(packet);
        }
예제 #2
0
        /**
         * Send a Entity to queue
         *
         * @param entity SendEntity<T> {@link SendPacket}
         * @param <T>    Extends SendEntity
         * @return SendEntity<T>
         */
        public SendPacket Send(SendPacket entity)
        {
            entity.SetBlinkConn(this);

            mSendQueue.Enqueue(entity);

            return(entity);
        }
예제 #3
0
        /// <summary>
        ///  Send a Entity to queue
        /// </summary>
        /// <param name="packet">SendPacket</param>
        /// <returns>SendPacket</returns>
        public SendPacket Send(SendPacket packet)
        {
            packet.SetBlinkConn(this);

            mSendDispatcher.Send(packet);

            return packet;
        }