Package org.omegazero.net.client
Interface NetClientManager
- All Superinterfaces:
NetworkApplication
,Runnable
- All Known Implementing Classes:
DTLSClientManager
,PlainTCPClientManager
,PlainUDPClientManager
,TCPClientManager
,TLSClientManager
,UDPClientManager
-
Method Summary
Modifier and TypeMethodDescriptionconnection
(ConnectionParameters params) Creates a new connection instance based on the given parameters to be managed by thisNetClientManager
.
SocketConnection.connect(int)
will need to be called on the returned connection instance to initiate the connection.Methods inherited from interface org.omegazero.net.common.NetworkApplication
close, init, run, start
-
Method Details
-
connection
Creates a new connection instance based on the given parameters to be managed by thisNetClientManager
.
SocketConnection.connect(int)
will need to be called on the returned connection instance to initiate the connection.- Parameters:
params
- Parameters for this connection- Returns:
- The new connection instance
- Throws:
IOException
-