Пример #1
0
 public void runConsoleCommand_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   runConsoleCommand_args args = new runConsoleCommand_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   iface_.runConsoleCommand(args.AuthString, args.Command);
   return;
 }
Пример #2
0
 public void send_runConsoleCommand(string authString, string command)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("runConsoleCommand", TMessageType.Call, seqid_));
   runConsoleCommand_args args = new runConsoleCommand_args();
   args.AuthString = authString;
   args.Command = command;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }