コード例 #1
0
        public void send_lookupNearby(Location location, SpotCategory category, string query, string countryAreaCode)
        {
            oprot_.WriteMessageBegin(new TMessage("lookupNearby", TMessageType.Call, seqid_));
            lookupNearby_args args = new lookupNearby_args();

            args.Location        = location;
            args.Category        = category;
            args.Query           = query;
            args.CountryAreaCode = countryAreaCode;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            oprot_.Transport.Flush();
        }
コード例 #2
0
        public IAsyncResult send_lookupNearby(AsyncCallback callback, object state, Location location, SpotCategory category, string query, string countryAreaCode)
        {
            oprot_.WriteMessageBegin(new TMessage("lookupNearby", TMessageType.Call, seqid_));
            lookupNearby_args args = new lookupNearby_args();

            args.Location        = location;
            args.Category        = category;
            args.Query           = query;
            args.CountryAreaCode = countryAreaCode;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            return(oprot_.Transport.BeginFlush(callback, state));
        }
コード例 #3
0
        public void send_lookupNearby(Location location, SpotCategory category, string query, string countryAreaCode)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("lookupNearby", TMessageType.Call, seqid_));
            lookupNearby_args args = new lookupNearby_args();

            args.Location        = location;
            args.Category        = category;
            args.Query           = query;
            args.CountryAreaCode = countryAreaCode;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
      #if SILVERLIGHT
            return(oprot_.Transport.BeginFlush(callback, state));
      #else
            oprot_.Transport.Flush();
      #endif
        }