org.gcube.data.tml.clients
Class BinderConsumer

java.lang.Object
  extended by org.gcube.data.tml.clients.BinderConsumer

public class BinderConsumer
extends Object

Consumer of asynchronous invocations to BinderClient.bindAsync(BindingParameters, BinderConsumer).

Author:
Fabio Simeoni

Constructor Summary
BinderConsumer()
           
 
Method Summary
protected  void onCompletion(List<org.gcube.data.tm.stubs.SourceBinding> bindings)
          Invoked on binding completion with the list of SourceBindings returned by the service.
protected  void onFailure(Exception e)
          Invoked on a binding failure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinderConsumer

public BinderConsumer()
Method Detail

onCompletion

protected void onCompletion(List<org.gcube.data.tm.stubs.SourceBinding> bindings)
Invoked on binding completion with the list of SourceBindings returned by the service.

Parameters:
bindings - the bindings

onFailure

protected void onFailure(Exception e)
Invoked on a binding failure.

Parameters:
e - the failure


Copyright © 2012. All Rights Reserved.