Package org.jboss.as.protocol
Interface ProtocolConnectionManager.ConnectTask
- Enclosing class:
- ProtocolConnectionManager
public static interface ProtocolConnectionManager.ConnectTask
Task used to establish the connection.
-
Method Details
-
getConnectionOpenedHandler
ProtocolConnectionManager.ConnectionOpenHandler getConnectionOpenedHandler()Get the connection opened handler.- Returns:
- the connection opened handler
-
connect
Create a new connection- Returns:
- the connection
- Throws:
IOException
-
connectionClosed
ProtocolConnectionManager.ConnectTask connectionClosed()Notification when the channel is closed, but the manager not shutdown.- Returns:
- the next connect connectTask
-
shutdown
void shutdown()Notification when the connection manager gets shutdown.
-