public static class ThriftTest.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ThriftTest.AsyncIface
Modifier and Type | Class and Description |
---|---|
static class |
ThriftTest.AsyncClient.Factory |
static class |
ThriftTest.AsyncClient.fails_call |
static class |
ThriftTest.AsyncClient.success_call |
static class |
ThriftTest.AsyncClient.throwsError_call |
Constructor and Description |
---|
ThriftTest.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
fails(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
success(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
throwsError(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
public ThriftTest.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void success(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
success
in interface ThriftTest.AsyncIface
org.apache.thrift.TException
public void fails(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
fails
in interface ThriftTest.AsyncIface
org.apache.thrift.TException
public void throwsError(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
throwsError
in interface ThriftTest.AsyncIface
org.apache.thrift.TException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.