Beispiel #1
0
 public void send_CreateScene()
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("CreateScene", TMessageType.Call, seqid_));
   CreateScene_args args = new CreateScene_args();
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Beispiel #2
0
 public void CreateScene_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   CreateScene_args args = new CreateScene_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   CreateScene_result result = new CreateScene_result();
   result.Success = iface_.CreateScene();
   oprot.WriteMessageBegin(new TMessage("CreateScene", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }