|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.tml.clients.BinderClient
public class BinderClient
A TBinderClient implementation.
| Constructor Summary | |
|---|---|
BinderClient(org.gcube.common.clients.Client<org.gcube.data.tm.stubs.TBinderPortType> client)
Creates an instance with a given Client. |
|
BinderClient(org.gcube.common.clients.gcore.StatefulQuery query)
Creates an instance for binding to Tree Binder services discovered with a given query. |
|
BinderClient(URL address)
Creates an instance for binding to a given Tree Binder service. |
|
| Method Summary | |
|---|---|
List<org.gcube.data.tm.stubs.SourceBinding> |
bind(BindingParameters parameters)
Binds one ore more data sources to T-Reader and/or T-Writer services. |
void |
bindAsync(BindingParameters parameters,
BinderConsumer consumer)
Binds asynchronously to T-Reader and/or T-Writer services. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BinderClient(org.gcube.common.clients.Client<org.gcube.data.tm.stubs.TBinderPortType> client)
Client.
client - the clientpublic BinderClient(org.gcube.common.clients.gcore.StatefulQuery query)
query - the query.public BinderClient(URL address)
address - the service address| Method Detail |
|---|
public List<org.gcube.data.tm.stubs.SourceBinding> bind(BindingParameters parameters)
throws IllegalArgumentException,
org.gcube.common.clients.DiscoveryException,
InvalidRequestException,
Exception
bind in interface TBinderClientparameters - the binding parameters
IllegalArgumentException - if the parameters are null
org.apache.commons.discovery.DiscoveryException - if, in discovery mode, there is no service with the target plugin
InvalidRequestException - if the parameters are invalid for the service
Exception - if the operation fails for any other error
org.gcube.common.clients.DiscoveryException
public void bindAsync(BindingParameters parameters,
BinderConsumer consumer)
throws IllegalArgumentException,
org.gcube.common.clients.DiscoveryException,
Exception
bindAsync in interface TBinderClientparameters - the binding parametersconsumer - a consumer for the asynchronous delivery of responses
IllegalArgumentException - if the parameters or the consumer are null
org.apache.commons.discovery.DiscoveryException - if, in discovery mode, there is no service with the target plugin
Exception - if the operation fails for any other error
org.gcube.common.clients.DiscoveryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||