

Public Member Functions | |
| void | messageGetBlock (IoSession session, LSDClientSession ls, byte bytes[]) |
| void | exceptionCaught (IoSession session, Throwable arg1) |
| void | sessionIdle (IoSession session, IdleStatus arg1) throws Exception |
| void | sessionClosed (IoSession session) throws Exception |
| void | messageReceived (IoSession session, Object arg1) throws Exception |
| void | messageSent (IoSession session, Object arg1) throws Exception |
Protected Member Functions | |
| void | messageRun (IoSession session, LSDMsgAnswear lma) |
| boolean | messageClear (IoSession session, Object arg1) |
| void | sessionFinished (IoSession session, byte status) |
| void openlsd.web.extension.LSDWebClientGetSessionHandler.messageGetBlock | ( | IoSession | session, | |
| LSDClientSession | ls, | |||
| byte | bytes[] | |||
| ) |
Exemple of messageGetBlock extended to ServletOutputStream only.
Reimplemented from openlsd.network.client.get.LSDClientGetSessionHandler.
| void openlsd.network.client.get.LSDClientGetSessionHandler.messageRun | ( | IoSession | session, | |
| LSDMsgAnswear | lma | |||
| ) | [protected, virtual, inherited] |
When a message is received, call the messageGet according to the kind of message.
Implements openlsd.network.client.common.LSDClientCommonSessionHandler.
| boolean openlsd.network.client.get.LSDClientGetSessionHandler.messageClear | ( | IoSession | session, | |
| Object | arg1 | |||
| ) | [protected, virtual, inherited] |
Clear the message sent from memory.
Implements openlsd.network.client.common.LSDClientCommonSessionHandler.
| void openlsd.network.client.common.LSDClientCommonSessionHandler.exceptionCaught | ( | IoSession | session, | |
| Throwable | arg1 | |||
| ) | [inherited] |
In case of exception, if the session is present, free the lock such that the main call is released.
| void openlsd.network.client.common.LSDClientCommonSessionHandler.sessionIdle | ( | IoSession | session, | |
| IdleStatus | arg1 | |||
| ) | throws Exception [inherited] |
In case of idle, if the session is present, free the lock such that the main call is released.
| void openlsd.network.client.common.LSDClientCommonSessionHandler.sessionClosed | ( | IoSession | session | ) | throws Exception [inherited] |
When the session is closed, free the session associated.
| void openlsd.network.client.common.LSDClientCommonSessionHandler.messageReceived | ( | IoSession | session, | |
| Object | arg1 | |||
| ) | throws Exception [inherited] |
When a message is received, call the messageRun to run a specific task according to the kind of message.
| void openlsd.network.client.common.LSDClientCommonSessionHandler.messageSent | ( | IoSession | session, | |
| Object | arg1 | |||
| ) | throws Exception [inherited] |
Clear the message sent from memory. Call the function messageClear to extend to adapt to the kind of message to clear.
WARNING : one access to LSDClient from network.client.example to remove when ready to production.
| session | ||
| arg1 |
| void openlsd.network.client.common.LSDClientCommonSessionHandler.sessionFinished | ( | IoSession | session, | |
| byte | status | |||
| ) | [protected, inherited] |
Finish the current session by simply assign the status and releasing the possible lock.
| session | ||
| status |