|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.tml.proxies.DefaultTBinder
public class DefaultTBinder
Default implementation of TBinder and AsyncTBinder.
| Constructor Summary | |
|---|---|
DefaultTBinder(org.gcube.common.clients.delegates.ProxyDelegate<TBinderStub> delegate)
Creates an instance with ProxyDelegate |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTBinder(org.gcube.common.clients.delegates.ProxyDelegate<TBinderStub> delegate)
ProxyDelegate
delegate - the delegate| Method Detail |
|---|
public List<Binding> bind(BindRequest parameters)
TBinder
bind in interface TBinderparameters - the binding parameters
public 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 parameters
Future outcome
public Future<?> bindAsync(BindRequest parameters,
org.gcube.common.clients.delegates.Callback<List<Binding>> callback)
throws RejectedExecutionException
AsyncTBinderCallback of the outcome of the call
bindAsync in interface AsyncTBinderparameters - the binding parameters
RejectedExecutionException - if the call cannot be submitted for asynchronous execution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||