com.ibm.ulc.comm
Interface IConnectionController
- All Known Implementing Classes:
- com.ibm.ulc.application.ULCContext
- public abstract interface IConnectionController
An interface to get control over interesting connection
events.
connectionCreated
public void connectionCreated(IConnection connection)
- The given connection was created but not yet started.
- Parameters:
connection
- IConnection- See Also:
IConnection
connectionEnded
public void connectionEnded(IConnection connection,
UlcTransportException ex)
- The given connection was ended.
If the end was due to a problem the second argument is non-null
and contains the reason for failure.
This is a good place to remove yourself from the list
of ConnectionControllers. The notification is stable
with respect to changing lists.
- Parameters:
connection
- IConnectionex
- UlcTransportConnection- See Also:
Server
,
IConnection
,
UlcTransportException
connectionStarted
public void connectionStarted(IConnection connection,
UlcTransportException ex)
- The given connection was started.
If the start was not successful the second argument is non-null
and contains the reason for failure.
- Parameters:
connection
- IConnectionex
- UlcTransportConnection- See Also:
IConnection
,
UlcTransportException