public abstract class ChannelMonitor extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
disconnect() |
boolean |
disconnect(boolean linger) |
protected StringBuilder |
dumpAppState(StringBuilder sb) |
StringBuilder |
dumpState(StringBuilder sb,
boolean verbose) |
protected void |
eventError(Throwable ex) |
SelectableChannel |
getChannel() |
int |
getCMID() |
DatagramChannel |
getDatagramChannel() |
Dispatcher |
getDispatcher() |
Logger |
getLogger() |
EntityReaper |
getReaper() |
SocketChannel |
getSocketChannel() |
long |
getStartTime() |
long |
getSystemTime() |
protected void |
initChannelMonitor() |
protected void |
ioDisconnected(CharSequence diagnostic) |
void |
setReaper(EntityReaper rpr) |
String |
toString() |
protected void ioDisconnected(CharSequence diagnostic) throws IOException
IOException
protected void eventError(Throwable ex) throws IOException
IOException
protected StringBuilder dumpAppState(StringBuilder sb)
public int getCMID()
public long getStartTime()
public Dispatcher getDispatcher()
public SelectableChannel getChannel()
public SocketChannel getSocketChannel()
public DatagramChannel getDatagramChannel()
public EntityReaper getReaper()
public void setReaper(EntityReaper rpr)
public boolean disconnect()
public boolean disconnect(boolean linger)
public Logger getLogger()
public long getSystemTime()
protected void initChannelMonitor()
public StringBuilder dumpState(StringBuilder sb, boolean verbose)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.