public class GenericBaseDevice
extends org.apache.mina.core.service.IoHandlerAdapter
Modifier and Type | Field and Description |
---|---|
protected Set<ConnectionListener> |
connectionListeners |
Constructor and Description |
---|
GenericBaseDevice() |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(ConnectionListener listener) |
protected void |
fireConnected() |
protected void |
fireConnectionFailed(Throwable e) |
protected void |
fireDisconnected(Throwable e) |
void |
removeConnectionListener(ConnectionListener listener) |
protected final Set<ConnectionListener> connectionListeners
public void addConnectionListener(ConnectionListener listener)
public void removeConnectionListener(ConnectionListener listener)
protected void fireConnectionFailed(Throwable e)
protected void fireDisconnected(Throwable e)
protected void fireConnected()