Class AbstractDelegate<A,S,C extends ProxyConfig<A,S>>
java.lang.Object
org.gcube.common.clients.delegates.AbstractDelegate<A,S,C>
- Type Parameters:
A- the type of service addressesS- the type of service stubsC- the type ofProxyConfigused by the delegate
- All Implemented Interfaces:
ProxyDelegate<S>
- Direct Known Subclasses:
DirectDelegate,DiscoveryDelegate
public abstract class AbstractDelegate<A,S,C extends ProxyConfig<A,S>>
extends Object
implements ProxyDelegate<S>
Partial implementation of
ProxyDelegates- Author:
- Fabio Simeoni
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractDelegate(C config) Constructs an instance with a given configuration -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gcube.common.clients.delegates.ProxyDelegate
make
-
Constructor Details
-
AbstractDelegate
Constructs an instance with a given configuration- Parameters:
config- the configuration
-
-
Method Details
-
config
Description copied from interface:ProxyDelegateReturns the configuration of the proxy.- Specified by:
configin interfaceProxyDelegate<A>- Returns:
- the configuration
-
toString
-