M
- the parameterization lower bounded by SocketManager
itself.C
- the SocketConnection
type.public interface SocketManager<M extends SocketManager<M,C>,C extends SocketConnection> extends ConnectionManager<C>
ConnectionManager
.ConnectionManager.InitializationType
Modifier and Type | Method and Description |
---|---|
int |
getBacklogSize()
Gets the listen backlog size.
|
List<InetSocketAddress> |
getBoundAddresses()
Gets the list of bound addresses.
|
int |
getBufferSize()
Gets the read/write buffer size.
|
M |
setBacklogSize(int backlogSize)
Sets the listen backlog size.
|
M |
setBufferSize(int bufferSize)
Sets the read/write buffer size.
|
close, getConnections, init, toString
List<InetSocketAddress> getBoundAddresses()
int getBacklogSize()
M setBacklogSize(int backlogSize)
backlogSize
- the backlog size.int getBufferSize()
M setBufferSize(int bufferSize)
bufferSize
- the buffer size.