public interface ConnectionManager
Connection
instances.Modifier and Type | Method and Description |
---|---|
void |
closeSocketSelectors()
Closes the
Selector instances for managing the
EstablishedConnection instances. |
void |
manageConnection(EstablishedConnection connection)
Manages the
EstablishedConnection . |
void |
openSocketSelectors()
Opens the
Selector instances for managing the
EstablishedConnection instances. |
void openSocketSelectors() throws IOException
Selector
instances for managing the
EstablishedConnection
instances.IOException
- If fails to open all the Selector
instances.void manageConnection(EstablishedConnection connection)
EstablishedConnection
.connection
- EstablishedConnection
to be managed.void closeSocketSelectors() throws IOException
Selector
instances for managing the
EstablishedConnection
instances.IOException
- If fails to close Selector
instances.Copyright © 2005–2016. All rights reserved.