All Packages This Package Class Hierarchy Class Search Index
java.lang.Object
|
+----edu.utah.janos.nodeos.pj_InChannel
|
+----edu.utah.janos.nodeos.InChannel
| Summary |
public final class InChannel
extends edu.utah.janos.nodeos.pj_InChannel
{
// Constructors 1
private InChannel(Flow, DemultiplexKey, String, String, DeliverFunc) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException;
// Methods 9
public static InChannel create(Flow, DemultiplexKey, String, String, DeliverFunc) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException;
public void addBuffer(BufferHandle);
public void addBuffers(int);
void destroy();
protected void finalize();
pj_InChannel getNativeInChan();
public BufferHandle remBuffer();
public void remBuffers(int);
public String toString();
}
Java wrapper for a NodeOS InChannel.
See Also: CutThroughChannel, OutChannel
| Cross Reference |
| Constructors |
· InChannel | Summary | Top |
private InChannel(Flow flow,
DemultiplexKey classifier,
String protocolSpec,
String addrSpec,
DeliverFunc deliverFunc) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException
| Methods |
· create | Summary | Top |
public static InChannel create(Flow flow,
DemultiplexKey classifier,
String protocolSpec,
String addrSpec,
DeliverFunc deliverFunc) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException
Create a new InChannel.
· addBuffer | Summary | Top |
public void addBuffer(BufferHandle bufh)
Add a buffer to the InChannel
· remBuffer | Summary | Top |
public BufferHandle remBuffer()
Remove a buffer from the queue of free buffers on this InChannel. Returns null if there are no free buffers on this InChannel.
· addBuffers | Summary | Top |
public void addBuffers(int count)
Add `count' buffers to the in channel.
· remBuffers | Summary | Top |
public void remBuffers(int count)
Remove `count' buffers from the channel. Or all the buffers if there are less than `count'.
· toString | Summary | Top |
public String toString()
- Overrides:
- toString in class pj_InChannel
· destroy | Summary | Top |
void destroy()
- Overrides:
- destroy in class pj_InChannel
· getNativeInChan | Summary | Top |
pj_InChannel getNativeInChan()
· finalize | Summary | Top |
protected void finalize()
- Overrides:
- finalize in class pj_InChannel
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7