Class Endpoint.Factory

java.lang.Object
org.glassfish.grizzly.connectionpool.Endpoint.Factory
Enclosing class:
Endpoint<E>

public static final class Endpoint.Factory extends Object
Convenient Endpoint factory for cases, when user has a ConnectorHandler and endpoint address.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <E> Endpoint<E>
    create(E targetAddress, E localAddress, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler)
     
    static <E> Endpoint<E>
    create(E targetAddress, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler)
     
    static <E> Endpoint<E>
    create(Object id, E targetAddress, E localAddress, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • create

      public static <E> Endpoint<E> create(E targetAddress, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler)
    • create

      public static <E> Endpoint<E> create(E targetAddress, E localAddress, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler)
    • create

      public static <E> Endpoint<E> create(Object id, E targetAddress, E localAddress, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler)