All Packages This Package Class Hierarchy Class Search Index
Class edu.utah.janos.nodeos.Buffer
java.lang.Object
|
+----edu.utah.janos.nodeos.Buffer
class Buffer
extends java.lang.Object
{
// Fields 3
byte[] data;
private boolean recycled;
private int refCount;
// Constructors 1
Buffer(byte[]);
// Methods 6
final synchronized void acquire();
boolean charge(FlowState);
final int getRefCount();
void recycle();
final synchronized void release();
public String toString();
}
The Buffer that a BufferHandle points to.
- Author:
-
Janos Ministry of Development
- Extended By:
- UdpBuffer
- Returned By:
- BufferHandle.getBuffer()
private int refCount
byte[] data
private boolean recycled
Buffer(byte[] data)
boolean charge(FlowState state)
Return true if the flow can afford the
buffer.
final synchronized void acquire()
final synchronized void release()
void recycle()
final int getRefCount()
public String toString()
- Overrides:
- toString in class Object
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7