Class EndpointConfig<A,S>

java.lang.Object
org.gcube.common.clients.config.AbstractConfig<A,S>
org.gcube.common.clients.config.EndpointConfig<A,S>
Type Parameters:
A - the type of service addresses
S - the type of service stubs
All Implemented Interfaces:
ProxyConfig<A,S>

public class EndpointConfig<A,S> extends AbstractConfig<A,S>
The configuration of a proxy created in direct mode.
Author:
Fabio Simeoni
See Also:
  • Constructor Details

    • EndpointConfig

      public EndpointConfig(ProxyPlugin<A,S,?> plugin, A address)
      Creates an instance with a given ProxyPlugin and endpoint address.
      Parameters:
      plugin - the plugin
      address - the address
  • Method Details

    • address

      public A address()
      Returns the address of the endpoint.
      Returns:
      the address