Beispiel #1
0
        public void checkToken_Process(int seqid, TProtocol iprot, TProtocol oprot)
        {
            checkToken_args args = new checkToken_args();

            args.Read(iprot);
            iprot.ReadMessageEnd();
            checkToken_result result = new checkToken_result();

            try {
                result.Success = iface_.checkToken(args.PlatformArgs, args.Token);
            } catch (org.soldier.platform.svr_platform.comm.ErrorInfo err) {
                result.Err = err;
            }
            oprot.WriteMessageBegin(new TMessage("checkToken", TMessageType.Reply, seqid));
            result.Write(oprot);
            oprot.WriteMessageEnd();
            oprot.Transport.Flush();
        }