Example #1
0
        public IAsyncResult send_postSnsInvitationMessage(AsyncCallback callback, object state, SnsIdType snsIdType, string snsAccessToken, string toSnsUserId)
        {
            oprot_.WriteMessageBegin(new TMessage("postSnsInvitationMessage", TMessageType.Call, seqid_));
            postSnsInvitationMessage_args args = new postSnsInvitationMessage_args();

            args.SnsIdType      = snsIdType;
            args.SnsAccessToken = snsAccessToken;
            args.ToSnsUserId    = toSnsUserId;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            return(oprot_.Transport.BeginFlush(callback, state));
        }
Example #2
0
        public void send_postSnsInvitationMessage(SnsIdType snsIdType, string snsAccessToken, string toSnsUserId)
        {
            oprot_.WriteMessageBegin(new TMessage("postSnsInvitationMessage", TMessageType.Call, seqid_));
            postSnsInvitationMessage_args args = new postSnsInvitationMessage_args();

            args.SnsIdType      = snsIdType;
            args.SnsAccessToken = snsAccessToken;
            args.ToSnsUserId    = toSnsUserId;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            oprot_.Transport.Flush();
        }
Example #3
0
        public void send_postSnsInvitationMessage(SnsIdType snsIdType, string snsAccessToken, string toSnsUserId)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("postSnsInvitationMessage", TMessageType.Call, seqid_));
            postSnsInvitationMessage_args args = new postSnsInvitationMessage_args();

            args.SnsIdType      = snsIdType;
            args.SnsAccessToken = snsAccessToken;
            args.ToSnsUserId    = toSnsUserId;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
      #if SILVERLIGHT
            return(oprot_.Transport.BeginFlush(callback, state));
      #else
            oprot_.Transport.Flush();
      #endif
        }