org.jppf.server.nio
Class NioMessage
java.lang.Object
org.jppf.server.nio.NioMessage
public class NioMessage
- extends Object
Instances of this class are wrappers for the data to send to or receive from nodes.
- Author:
- Laurent Cohen
|
Field Summary |
ByteBuffer |
buffer
Buffer containg the message's data. |
int |
length
Total length of the message to read. |
boolean |
lengthWritten
Determines whether the buffer length has already been sent. |
|
Method Summary |
String |
toString()
Get a string representation of this message. |
length
public int length
- Total length of the message to read.
buffer
public ByteBuffer buffer
- Buffer containg the message's data.
lengthWritten
public boolean lengthWritten
- Determines whether the buffer length has already been sent.
NioMessage
public NioMessage()
toString
public String toString()
- Get a string representation of this message.
- Overrides:
toString in class Object
- Returns:
- a string representing this
NioMessage instance. - See Also:
Object.toString()
Copyright © 2005-2010 JPPF Team.