Class ServerEndpoint

java.lang.Object
io.vertx.mutiny.core.net.endpoint.ServerEndpoint
All Implemented Interfaces:
MutinyDelegate

public class ServerEndpoint extends Object implements MutinyDelegate
A physical server of an endpoint.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface.

Author:
Julien Viet
See Also:
  • ServerEndpoint
  • Field Details

  • Constructor Details

    • ServerEndpoint

      public ServerEndpoint(io.vertx.core.net.endpoint.ServerEndpoint delegate)
      Create a new instance of ServerEndpoint delegating to the given (non-null) instance of ServerEndpoint.
    • ServerEndpoint

      public ServerEndpoint(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.core.net.endpoint.ServerEndpoint getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • key

      public String key()
      Returns:
      the node key for hashing strategies
    • address

      public io.vertx.core.net.SocketAddress address()
      Returns:
      the server socket address
    • protocolId

      public String protocolId()
      Returns:
      the server protocol id, optional it can be null
    • newInteraction

      public ServerInteraction newInteraction()
      Initiate a request/response interaction with the endpoint represented by this node, the returned interaction gathers statistics.
      Returns:
      the request
    • newInstance

      public static ServerEndpoint newInstance(io.vertx.core.net.endpoint.ServerEndpoint delegate)
      Creates a new instance of the ServerEndpoint.
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object