public class ClientListener extends Object
ClientChannel
object.ClientChannel
Constructor and Description |
---|
ClientListener()
Constructs a new
ClientListener instance. |
Modifier and Type | Method and Description |
---|---|
void |
processConnect(ClientChannel channel)
Called after a
ClientChannel has connected to an NetServer. |
void |
processCreate(ClientChannel channel)
Called after a
ClientChannel is created. |
void |
processDisconnect(ClientChannel channel)
Called after a
ClientChannel has disconnected from an NetServer. |
void |
processDispose(ClientChannel channel)
Called after a
ClientChannel is disposed and can no longer be
used. |
public void processCreate(ClientChannel channel)
ClientChannel
is created. This method does nothing
when called, but it can be overriden.channel
- the created ClientChannel
.public void processDispose(ClientChannel channel)
ClientChannel
is disposed and can no longer be
used. This method does nothing when called, but it can be overriden.channel
- the disposed ClientChannel
.public void processConnect(ClientChannel channel)
ClientChannel
has connected to an NetServer. This
method does nothing when called, but it can be overriden.channel
- the connected ClientChannel
.public void processDisconnect(ClientChannel channel)
ClientChannel
has disconnected from an NetServer.
This method does nothing when called, but it can be overriden.channel
- the disconnected ClientChannel
.Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.