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 addresses
S - the type of service stubs
C - the type of ProxyConfig used 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 Details

    • AbstractDelegate

      public AbstractDelegate(C config)
      Constructs an instance with a given configuration
      Parameters:
      config - the configuration
  • Method Details

    • config

      public C config()
      Description copied from interface: ProxyDelegate
      Returns the configuration of the proxy.
      Specified by:
      config in interface ProxyDelegate<A>
      Returns:
      the configuration
    • toString

      public String toString()
      Overrides:
      toString in class Object