Package io.vertx.core.net.endpoint
Interface ServerEndpoint
-
@Unstable public interface ServerEndpoint
A physical server of an endpoint.- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SocketAddress
address()
String
key()
InteractionMetrics<?>
metrics()
ServerInteraction
newInteraction()
Initiate a request/response interaction with the endpoint represented by this node, the returned interaction gathers statistics.Object
unwrap()
-
-
-
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()
-
-