| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
public interface IoServiceListenerextends EventListenerIoFuture becomes available.
Method Summary | |
void |
|
void |
|
void |
|
void |
|
public void serviceActivated(IoService service, SocketAddress serviceAddress, IoHandler handler, IoServiceConfig config)
Invoked when a new service is activated by anIoService.
- Parameters:
service- theIoServiceserviceAddress- the socket address of theIoServicelistens to manage sessions. If the service is anIoAcceptor, it is a bind address. If the service is anIoConnector, it is a remote address.handler- theIoHandlerthat serves the new serviceconfig- theIoServiceConfigof the new service
public void serviceDeactivated(IoService service, SocketAddress serviceAddress, IoHandler handler, IoServiceConfig config)
Invoked when a service is deactivated by anIoService.
- Parameters:
service- theIoServiceserviceAddress- the socket address of theIoServicelistens to manage sessions. If the service is anIoAcceptor, it is a bind address. If the service is anIoConnector, it is a remote address.handler- theIoHandlerthat serves the serviceconfig- theIoServiceConfigof the service
public void sessionCreated(IoSession session)
Invoked when a new session is created by anIoService.
- Parameters:
session- the new session