Package org.jboss.as.protocol
Interface ProtocolConnectionManager.ConnectTask
-
- Enclosing class:
- ProtocolConnectionManager
public static interface ProtocolConnectionManager.ConnectTaskTask used to establish the connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.remoting3.Connectionconnect()Create a new connectionProtocolConnectionManager.ConnectTaskconnectionClosed()Notification when the channel is closed, but the manager not shutdown.ProtocolConnectionManager.ConnectionOpenHandlergetConnectionOpenedHandler()Get the connection opened handler.voidshutdown()Notification when the connection manager gets shutdown.
-
-
-
Method Detail
-
getConnectionOpenedHandler
ProtocolConnectionManager.ConnectionOpenHandler getConnectionOpenedHandler()
Get the connection opened handler.- Returns:
- the connection opened handler
-
connect
org.jboss.remoting3.Connection connect() throws IOExceptionCreate 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.
-
-