openlsd.network.server.LSDMsgInfoHandler Class Reference
List of all members.
Detailed Description
Handler for Info Message
- Author:
- Frederic Bregier LGPL
Member Function Documentation
void openlsd.network.server.LSDMsgInfoHandler.messageReceived |
( |
IoSession |
session, |
|
|
LSDMsgInfo |
arg1 | |
|
) |
| | throws Exception [private] |
Handler for SIZE, EXIST, COPY commands.
- Parameters:
-
| session | the associated session |
| arg1 | the Info message |
- Exceptions:
-
String openlsd.network.server.LSDMsgInfoHandler.getSessionInfo |
( |
|
) |
|
Get the string of sessions and their status
- Returns:
- the string of (name,remoteAddress,CreationTimeMs,LastReadTimeMs,LastWriteTimeMs, NbReadMsg,NbWriteMsg,isIdle,isConnected,isClosing,Command[,Status,Running,isClosed, unique,legacy,storage,document] if Command != LSDConstants.LSD_UNAVAILABLE) First 2 data are previous free memory -> next free memory (after gc)
String openlsd.network.server.LSDMsgInfoHandler.getAExist |
( |
String |
triple |
) |
[private] |
Get the string of non existing files from triple (lid,sid,did)
- Parameters:
-
| triple | String containing series of "lid sid did" separated by blank |
- Returns:
- the string of (lid,sid,did) that do not exist in LSD
String openlsd.network.server.LSDMsgInfoHandler.getAExistMD5 |
( |
String |
triple |
) |
[private] |
Get the string of non existing files from triple (lid,sid,did) + MD5
- Parameters:
-
| triple | String containing series of "lid sid did" separated by blank |
- Returns:
- the string of (lid,sid,did) that do not exist in LSD
void openlsd.network.server.LSDMsgInfoHandler.handleMessage |
( |
IoSession |
arg0, |
|
|
LSDMsgInfo |
arg1 | |
|
) |
| | throws Exception |
Interface for Receive only message
- Parameters:
-
- Exceptions:
-
- See also:
- org.apache.mina.handler.demux.MessageHandler.handleMessage(org.apache.mina.common.IoSession, java.lang.Object)
void openlsd.network.server.LSDMsgInfoHandler.exceptionCaught |
( |
IoSession |
session, |
|
|
Throwable |
arg1 | |
|
) |
| | throws Exception |
Close the session and, if there is an attribute, release the lock of the attribute for all blocks.
- Parameters:
-
- Exceptions:
-
- See also:
- org.apache.mina.common.IoHandlerAdapter.exceptionCaught(org.apache.mina.common.IoSession, java.lang.Throwable)
The documentation for this class was generated from the following file:
- OpenLSD/Server/openlsd/network/server/LSDMsgInfoHandler.java