예제 #1
0
        static public bool ReplyBadPacket(IController ctrl, uint flags)
        {
            //What is this for? Nack + Ping?  What can the TinyCLR possibly do with this information?
            OutgoingMessage msg = new OutgoingMessage(ctrl, new WireProtocol.Converter(), Commands.c_Monitor_Ping, Flags.c_NonCritical | Flags.c_NACK | flags, null);

            return(msg.Send());
        }
예제 #2
0
        public bool Reply(Converter converter, uint flags, object payload)
        {
            OutgoingMessage msgReply = new OutgoingMessage(this, converter, flags, payload);

            return(msgReply.Send());
        }
예제 #3
0
        public bool Reply( Converter converter, uint flags, object payload )
        {
            
            OutgoingMessage msgReply = new OutgoingMessage( this, converter, flags, payload );

            return msgReply.Send();
        }
예제 #4
0
        static public bool ReplyBadPacket( IController ctrl, uint flags )
        {
            //What is this for? Nack + Ping?  What can the TinyCLR possibly do with this information?
            OutgoingMessage msg = new OutgoingMessage( ctrl, null, Commands.c_Monitor_Ping, Flags.c_NonCritical | Flags.c_NACK | flags, null );

            return msg.Send();
        }