Esempio n. 1
0
            public void send_create(string username, string password)
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("create", TMessageType.Call, seqid_));
                create_args args = new create_args();

                args.Username = username;
                args.Password = password;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
        #if SILVERLIGHT
                return(oprot_.Transport.BeginFlush(callback, state));
        #else
                oprot_.Transport.Flush();
        #endif
            }
Esempio n. 2
0
            public void send_create(com.imd.doc.thrift.Language language, com.imd.doc.thrift.Source source, PageType pageType)
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("create", TMessageType.Call, seqid_));
                create_args args = new create_args();

                args.Language = language;
                args.Source   = source;
                args.PageType = pageType;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
        #if SILVERLIGHT
                return(oprot_.Transport.BeginFlush(callback, state));
        #else
                oprot_.Transport.Flush();
        #endif
            }
Esempio n. 3
0
            public void send_create(Reserve s)
#endif
            {
                oprot_.WriteMessageBegin(new TMessage("create", TMessageType.Call, seqid_));
                create_args args = new create_args();
                args.S = s;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
#if SILVERLIGHT
      return oprot_.Transport.BeginFlush(callback, state);
#else
                oprot_.Transport.Flush();
#endif
            }
 public void send_create(Pathname path)
 {
     oprot_.WriteMessageBegin(new TMessage("create", TMessageType.Call, seqid_));
     create_args args = new create_args();
     args.Path = path;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }