|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.superhac.JXBStreamer.Core.XBMSPServerMessageHandler
public class XBMSPServerMessageHandler
Handles all the messaging for client communication with the server.
More information can be found at Superhac.com
Constructor Summary | |
---|---|
protected |
XBMSPServerMessageHandler(java.nio.channels.SocketChannel sc,
java.util.ArrayList<java.io.File> virtualRoot)
|
Method Summary | |
---|---|
protected long |
getLastTransmissionDelay()
Gets the number of seconds since client last sent a message. |
protected java.nio.channels.SocketChannel |
getSocketChannel()
Gets the socket channel that assigned to this message handler. |
ConnectedClientStatus |
getStatus()
Gets the clients status for this message handler. |
protected void |
IncommingMessage(java.nio.ByteBuffer message)
Processes the incoming messages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XBMSPServerMessageHandler(java.nio.channels.SocketChannel sc, java.util.ArrayList<java.io.File> virtualRoot)
sc
- The socket channel for this clientvirtualRoot
- the shared directorys for the virtual roots.Method Detail |
---|
protected void IncommingMessage(java.nio.ByteBuffer message)
message
- the buffer from socket.protected java.nio.channels.SocketChannel getSocketChannel()
public ConnectedClientStatus getStatus()
protected long getLastTransmissionDelay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |