Package io.vertx.core.net.endpoint
Interface ServerEndpoint
-
@Unstable public interface ServerEndpointA physical server of an endpoint.- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SocketAddressaddress()Stringkey()InteractionMetrics<?>metrics()ServerInteractionnewInteraction()Initiate a request/response interaction with the endpoint represented by this node, the returned interaction gathers statistics.Objectunwrap()
-
-
-
Method Detail
-
key
String key()
- Returns:
- the node key for hashing strategies
-
address
SocketAddress address()
- Returns:
- the server socket address
-
newInteraction
ServerInteraction newInteraction()
Initiate a request/response interaction with the endpoint represented by this node, the returned interaction gathers statistics.- Returns:
- the request
-
metrics
InteractionMetrics<?> metrics()
-
unwrap
Object unwrap()
-
-