Class 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 Detail

      • Factory

        public Factory()
    • Method Detail

      • 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)