Exemplo n.º 1
0
            public void send_sendNotice(Notice notice)
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("sendNotice", TMessageType.Call, seqid_));
                sendNotice_args args = new sendNotice_args();

                args.Notice = notice;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
        #if SILVERLIGHT
                return(oprot_.Transport.BeginFlush(callback, state));
        #else
                oprot_.Transport.Flush();
        #endif
            }
Exemplo n.º 2
0
            public void sendNotice_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                sendNotice_args args = new sendNotice_args();

                args.Read(iprot);
                iprot.ReadMessageEnd();
                sendNotice_result result = new sendNotice_result();

                try {
                    iface_.sendNotice(args.Notice);
                } catch (com.imd.common.thrift.ThriftException e) {
                    result.E = e;
                }
                oprot.WriteMessageBegin(new TMessage("sendNotice", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }