public class DefaultTBinder extends Object implements TBinder, AsyncTBinder
TBinder and AsyncTBinder.| Constructor and Description |
|---|
DefaultTBinder(org.gcube.common.clients.delegates.ProxyDelegate<TBinderStub> delegate)
Creates an instance with
ProxyDelegate |
| Modifier and Type | Method and Description |
|---|---|
List<Binding> |
bind(BindRequest parameters)
Binds one ore more data sources to T-Reader and/or T-Writer endpoints.
|
Future<List<Binding>> |
bindAsync(BindRequest parameters)
Binds asynchronously to T-Reader and/or T-Writer services
and returns a
Future of the call outcome which clients can poll or use to cancel submission. |
Future<?> |
bindAsync(BindRequest parameters,
org.gcube.common.clients.delegates.Callback<List<Binding>> callback)
Binds asynchronously to T-Reader and/or T-Writer services and notifies a
Callback of the outcome of the call |
public DefaultTBinder(org.gcube.common.clients.delegates.ProxyDelegate<TBinderStub> delegate)
ProxyDelegatedelegate - the delegatepublic List<Binding> bind(BindRequest parameters)
TBinderpublic Future<List<Binding>> bindAsync(BindRequest parameters)
AsyncTBinderFuture of the call outcome which clients can poll or use to cancel submission.bindAsync in interface AsyncTBinderparameters - the binding parametersFuture outcomepublic Future<?> bindAsync(BindRequest parameters, org.gcube.common.clients.delegates.Callback<List<Binding>> callback) throws RejectedExecutionException
AsyncTBinderCallback of the outcome of the callbindAsync in interface AsyncTBinderparameters - the binding parametersRejectedExecutionException - if the call cannot be submitted for asynchronous executionCopyright © 2015. All Rights Reserved.