public class UcpListenerParams extends UcxParams
| Constructor and Description |
|---|
UcpListenerParams() |
| Modifier and Type | Method and Description |
|---|---|
UcpListenerParams |
clear()
Reset state of parameters.
|
InetSocketAddress |
getSockAddr() |
UcpListenerParams |
setConnectionHandler(UcpListenerConnectionHandler handler)
Handler of an incoming connection request in a client-server connection flow.
|
UcpListenerParams |
setSockAddr(InetSocketAddress sockAddr)
An address, on which
UcpListener would bind. |
checkArraySizespublic UcpListenerParams clear()
UcxParamspublic UcpListenerParams setSockAddr(InetSocketAddress sockAddr)
UcpListener would bind.public InetSocketAddress getSockAddr()
public UcpListenerParams setConnectionHandler(UcpListenerConnectionHandler handler)
Copyright © 2021. All rights reserved.