Class Endpoint

java.lang.Object
io.vertx.rxjava3.core.net.endpoint.Endpoint
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class Endpoint extends Object implements io.vertx.lang.rx.RxDelegate
  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<Endpoint> __TYPE_ARG
  • Constructor Details

    • Endpoint

      public Endpoint(Endpoint delegate)
    • Endpoint

      public Endpoint(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDelegate

      public Endpoint getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • servers

      public List<ServerEndpoint> servers()
      The servers capable of serving requests for this endpoint.
      Returns:
    • protocols

      public Set<String> protocols()
      Provide the set of protocols the endpoint can accept.
      Returns:
      the set of protocol ids
    • selectServer

      public ServerEndpoint selectServer()
      Select a server.
      Returns:
      the selected server
    • selectServer

      public ServerEndpoint selectServer(String key)
      Select a node, using a routing key
      Parameters:
      key - the routing key
      Returns:
      the selected server
    • newInstance

      public static Endpoint newInstance(Endpoint arg)