public class UcpConnectionRequest extends UcxNativeStruct
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getClientAddress()
The address of the remote client that sent the connection request to the server.
|
long |
getClientId()
Client id of remote endpoint.
|
void |
reject()
Reject the incoming connection request and release associated resources.
|
equals, getNativeId, hashCode, setNativeIdpublic InetSocketAddress getClientAddress()
public void reject()
UcpEndpointParams.setErrorHandler(org.openucx.jucx.ucp.UcpEndpointErrorHandler),
it will be invoked with status UcsConstants.STATUS#UCS_ERR_REJECTED.public long getClientId()
Copyright © 2024. All rights reserved.