TcpConnectionEventHandler

Undocumented in source.

Constructors

this
this(string attribute)
Undocumented in source.

Members

Functions

connectionClosed
void connectionClosed(Connection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
connectionOpened
void connectionOpened(Connection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
exceptionCaught
void exceptionCaught(Connection connection, Throwable t)
Undocumented in source. Be warned that the author may not have intended to support it.
failedAcceptingConnection
void failedAcceptingConnection(int connectionId, Throwable t)
Undocumented in source. Be warned that the author may not have intended to support it.
failedOpeningConnection
void failedOpeningConnection(int connectionId, Throwable t)
Undocumented in source. Be warned that the author may not have intended to support it.
messageReceived
void messageReceived(Connection connection, Object message)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnClosed
void setOnClosed(ConnCallBack callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnConnection
void setOnConnection(ConnCallBack callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnMessage
void setOnMessage(MsgCallBack callback)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From ConnectionEventBaseHandler

ConnCallBack
alias ConnCallBack = void delegate(ConnectBase connection)
Undocumented in source.
MsgCallBack
alias MsgCallBack = void delegate(Connection connection, Object message)
Undocumented in source.
connectionOpened
void connectionOpened(Connection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
connectionClosed
void connectionClosed(Connection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
messageReceived
void messageReceived(Connection connection, Object message)
Undocumented in source. Be warned that the author may not have intended to support it.
exceptionCaught
void exceptionCaught(Connection connection, Throwable t)
Undocumented in source. Be warned that the author may not have intended to support it.
failedOpeningConnection
void failedOpeningConnection(int connectionId, Throwable t)
Undocumented in source. Be warned that the author may not have intended to support it.
failedAcceptingConnection
void failedAcceptingConnection(int connectionId, Throwable t)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnConnection
void setOnConnection(ConnCallBack callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnClosed
void setOnClosed(ConnCallBack callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnMessage
void setOnMessage(MsgCallBack callback)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta