public class ConnectionEventListener extends Object
| 构造器和说明 |
|---|
ConnectionEventListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addConnectionEventProcessor(ConnectionEventType type,
ConnectionEventProcessor processor)
Add event processor.
|
void |
onEvent(ConnectionEventType type,
String remoteAddr,
Connection conn)
Dispatch events.
|
public void onEvent(ConnectionEventType type, String remoteAddr, Connection conn)
type - remoteAddr - conn - public void addConnectionEventProcessor(ConnectionEventType type, ConnectionEventProcessor processor)
type - processor - Copyright © 2021. All rights reserved.