public interface ConnectionEventService extends Port
Component
Modifier and Type | Method and Description |
---|---|
void |
addConnectionEventListener(int connectionEventType,
ConnectionEventListener l)
Sign up to be told about connection activity.
|
void |
removeConnectionEventListener(int connectionEventType,
ConnectionEventListener l)
Ignore future ConnectionEvents of the given type.
|
void addConnectionEventListener(int connectionEventType, ConnectionEventListener l)
connectionEventType
- must be one of the integer values defined inConnectionEvent
void removeConnectionEventListener(int connectionEventType, ConnectionEventListener l)
connectionEventType
- must be one of the integer values defined inConnectionEvent