Connection implementations.
| Modifier and Type | Class and Description |
|---|---|
| public static class | ConnectionProbe.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | onAcceptEvent(Connection<L>
server serverConnection, Connection<L> Connection, the event belongs to.new client clientConnection)Connection.Method will be called, when server side connection gets accepted. |
| public void | onBindEvent(Connection<L>
Connection, the event belongs to.Method will be called, when server side connection gets bound. |
| public void | onCloseEvent(Connection<L>
Connection, the event belongs to.Method will be called, when |
| public void | onConnectEvent(Connection<L>
Connection, the event belongs to.Method will be called, when client side connection gets connected (opened). |
| public void | onErrorEvent(Connection<L>
Connection, the event belongs to.error error)Method will be called, when error occurs on the |
| public void | onIOEventDisableEvent(Connection<L>
Connection, the event belongs to.Method will be called, when |
| public void | onIOEventEnableEvent(Connection<L>
Connection, the event belongs to.Method will be called, when |
| public void | onIOEventReadyEvent(Connection<L>
Connection, the event belongs to.Method will be called, when |
| public void | onReadEvent(Connection<L>
Connection, the event belongs to.Buffer, where the data gets read.the data size. size)Method will be called, when the |
| public void | onWriteEvent(Connection<L>
Connection, the event belongs to.Buffer, where the data gets writen.the data size. size)Method will be called, when the |
| onAcceptEvent | back to summary |
|---|---|
| public void onAcceptEvent(Connection<L> serverConnection, Connection<L> clientConnection) Method will be called, when server side connection gets accepted.
| |
| onBindEvent | back to summary |
|---|---|
| public void onBindEvent(Connection<L> connection) Method will be called, when server side connection gets bound.
| |
| onCloseEvent | back to summary |
|---|---|
| public void onCloseEvent(Connection<L> connection) Method will be called, when
| |
| onConnectEvent | back to summary |
|---|---|
| public void onConnectEvent(Connection<L> connection) Method will be called, when client side connection gets connected (opened).
| |
| onErrorEvent | back to summary |
|---|---|
| public void onErrorEvent(Connection<L> connection, Throwable error) Method will be called, when error occurs on the
| |
| onIOEventDisableEvent | back to summary |
|---|---|
| public void onIOEventDisableEvent(Connection<L> connection, IOEvent ioEvent) Method will be called, when
| |
| onIOEventEnableEvent | back to summary |
|---|---|
| public void onIOEventEnableEvent(Connection<L> connection, IOEvent ioEvent) Method will be called, when
| |
| onIOEventReadyEvent | back to summary |
|---|---|
| public void onIOEventReadyEvent(Connection<L> connection, IOEvent ioEvent) Method will be called, when
| |
| onReadEvent | back to summary |
|---|---|
| public void onReadEvent(Connection<L> connection, Buffer data, int size) Method will be called, when the
| |
| onWriteEvent | back to summary |
|---|---|
| public void onWriteEvent(Connection<L> connection, Buffer data, long size) Method will be called, when the
| |
ConnectionProbe adapter that provides no-op implementations for all interface methods allowing easy extension
by the developer.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | onAcceptEvent(Connection<L> serverConnection, Connection<L> clientConnection)
Implements org. Method will be called, when server side connection gets accepted. |
| public void | onBindEvent(Connection<L> connection)
Implements org. Method will be called, when server side connection gets bound. |
| public void | onCloseEvent(Connection<L> connection)
Implements org. Method will be called, when |
| public void | onConnectEvent(Connection<L> connection)
Implements org. Method will be called, when client side connection gets connected (opened). |
| public void | onErrorEvent(Connection<L> connection, Throwable error)
Implements org. Method will be called, when error occurs on the |
| public void | onIOEventDisableEvent(Connection<L> connection, IOEvent ioEvent)
Implements org. Method will be called, when |
| public void | onIOEventEnableEvent(Connection<L> connection, IOEvent ioEvent)
Implements org. Method will be called, when |
| public void | onIOEventReadyEvent(Connection<L> connection, IOEvent ioEvent)
Implements org. Method will be called, when |
| public void | onReadEvent(Connection<L> connection, Buffer data, int size)
Implements org. Method will be called, when the |
| public void | onWriteEvent(Connection<L> connection, Buffer data, long size)
Implements org. Method will be called, when the |
| Adapter | back to summary |
|---|---|
| public Adapter() | |
| onAcceptEvent | back to summary |
|---|---|
| public void onAcceptEvent(Connection<L> serverConnection, Connection<L> clientConnection) Implements org. Doc from org. Method will be called, when server side connection gets accepted.
| |
| onBindEvent | back to summary |
|---|---|
| public void onBindEvent(Connection<L> connection) Implements org. Doc from org. Method will be called, when server side connection gets bound.
| |
| onCloseEvent | back to summary |
|---|---|
| public void onCloseEvent(Connection<L> connection) Implements org. Doc from org. Method will be called, when
| |
| onConnectEvent | back to summary |
|---|---|
| public void onConnectEvent(Connection<L> connection) Implements org. Doc from org. Method will be called, when client side connection gets connected (opened).
| |
| onErrorEvent | back to summary |
|---|---|
| public void onErrorEvent(Connection<L> connection, Throwable error) Implements org. Doc from org. Method will be called, when error occurs on the
| |
| onIOEventDisableEvent | back to summary |
|---|---|
| public void onIOEventDisableEvent(Connection<L> connection, IOEvent ioEvent) Implements org. Doc from org. Method will be called, when
| |
| onIOEventEnableEvent | back to summary |
|---|---|
| public void onIOEventEnableEvent(Connection<L> connection, IOEvent ioEvent) Implements org. Doc from org. Method will be called, when
| |
| onIOEventReadyEvent | back to summary |
|---|---|
| public void onIOEventReadyEvent(Connection<L> connection, IOEvent ioEvent) Implements org. Doc from org. Method will be called, when
| |
| onReadEvent | back to summary |
|---|---|
| public void onReadEvent(Connection<L> connection, Buffer data, int size) Implements org. Doc from org. Method will be called, when the
| |
| onWriteEvent | back to summary |
|---|---|
| public void onWriteEvent(Connection<L> connection, Buffer data, long size) Implements org. Doc from org. Method will be called, when the
| |