Exemple #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));
        }
Exemple #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();
        }
Exemple #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
        }