Class AsyncClientMethodCallback

java.lang.Object
org.apache.camel.component.thrift.client.AsyncClientMethodCallback
All Implemented Interfaces:
org.apache.thrift.async.AsyncMethodCallback

public class AsyncClientMethodCallback extends Object implements org.apache.thrift.async.AsyncMethodCallback
  • Constructor Details

    • AsyncClientMethodCallback

      public AsyncClientMethodCallback(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
  • Method Details

    • onComplete

      public void onComplete(Object response)
      Specified by:
      onComplete in interface org.apache.thrift.async.AsyncMethodCallback
    • onError

      public void onError(Exception exception)
      Specified by:
      onError in interface org.apache.thrift.async.AsyncMethodCallback