org.jppf.server.nio.multiplexer.generic
Class ByteBufferWrapper
java.lang.Object
org.jppf.server.nio.multiplexer.generic.ByteBufferWrapper
public class ByteBufferWrapper
- extends Object
Wrapper around a ByteBuffer that retains the order in which it was received.
- Author:
- Laurent Cohen
|
Field Summary |
ByteBuffer |
buffer
The actual buffer. |
int |
order
The creation order of this buffer wrapper instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
public ByteBuffer buffer
- The actual buffer.
order
public int order
- The creation order of this buffer wrapper instance.
ByteBufferWrapper
public ByteBufferWrapper(ByteBuffer buffer,
int order)
- Create a byte buffer wrapper with the specified buffer and count.
- Parameters:
buffer - the actual buffer.order - the creation order of this buffer wrapper instance.
Copyright © 2005-2010 JPPF Team.