Package org.jppf.server.nio.nodeserver
Class RemoteNodeMessage
java.lang.Object
org.jppf.nio.AbstractNioMessageBase
org.jppf.nio.AbstractNioMessage
org.jppf.server.nio.AbstractTaskBundleMessage
org.jppf.server.nio.nodeserver.RemoteNodeMessage
- All Implemented Interfaces:
org.jppf.nio.NioMessage
Representation of a message sent or received by a remote node.
- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.server.nio.AbstractTaskBundleMessage
bundleFields inherited from class org.jppf.nio.AbstractNioMessage
locations, nbObjects, positionFields inherited from class org.jppf.nio.AbstractNioMessageBase
channel, channelReadCount, channelWriteCount, count, currentDataLocation, currentLength, currentLengthObject, currentObject, lengthBuf, resetCurrentLength, ssl, sslHandler, sslHandlerReadCount, sslHandlerWriteCountFields inherited from interface org.jppf.nio.NioMessage
READ, WRITE -
Constructor Summary
ConstructorsConstructorDescriptionRemoteNodeMessage(BaseNodeContext context) Initialize this nio message with the specified sll flag. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidActions to take after the first object in the message has been fully read.protected voidActions to take before the first object in the message is written.toString()Methods inherited from class org.jppf.server.nio.AbstractTaskBundleMessage
getBundle, setBundleMethods inherited from class org.jppf.nio.AbstractNioMessage
addLocation, getLocations, read, readNextObject, write, writeNextObjectMethods inherited from class org.jppf.nio.AbstractNioMessageBase
getChannelReadCount, getChannelWriteCount, getCurrentDataLocation, isSSL, updateCounts
-
Constructor Details
-
RemoteNodeMessage
Initialize this nio message with the specified sll flag.- Parameters:
context- the channel to read from or write to.
-
-
Method Details
-
afterFirstRead
Actions to take after the first object in the message has been fully read.- Overrides:
afterFirstReadin classorg.jppf.nio.AbstractNioMessage- Throws:
Exception- if an IO error occurs.
-
beforeFirstWrite
Actions to take before the first object in the message is written.- Overrides:
beforeFirstWritein classorg.jppf.nio.AbstractNioMessage- Throws:
Exception- if an IO error occurs.
-
toString
- Overrides:
toStringin classAbstractTaskBundleMessage
-