Class AsyncClientMethodCallback

  • All Implemented Interfaces:
    org.apache.thrift.async.AsyncMethodCallback

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

      • AsyncClientMethodCallback

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

      • 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