public class ConnectionEventListener extends Object
| Constructor and Description |
|---|
ConnectionEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionEventProcessor(ConnectionEventType type,
ConnectionEventProcessor processor)
Add event processor.
|
void |
onEvent(ConnectionEventType type,
String remoteAddress,
Connection connection)
Dispatch events.
|
public void onEvent(ConnectionEventType type, String remoteAddress, Connection connection)
type - ConnectionEventTyperemoteAddress - remoting addressconnection - Connectionpublic void addConnectionEventProcessor(ConnectionEventType type, ConnectionEventProcessor processor)
type - ConnectionEventTypeprocessor - ConnectionEventProcessorCopyright © 2024. All rights reserved.