public void send_getRoom(string roomId) #endif { oprot_.WriteMessageBegin(new TMessage("getRoom", TMessageType.Call, seqid_)); getRoom_args args = new getRoom_args(); args.RoomId = roomId; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getRoom_Process(int seqid, TProtocol iprot, TProtocol oprot) { getRoom_args args = new getRoom_args(); args.Read(iprot); iprot.ReadMessageEnd(); getRoom_result result = new getRoom_result(); try { result.Success = iface_.getRoom(args.RoomId); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getRoom", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }