All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.pj_CutThroughChannel | +----edu.utah.janos.nodeos.CutThroughChannel
Summary |
public final class CutThroughChannel extends edu.utah.janos.nodeos.pj_CutThroughChannel { // Constructors 1 private CutThroughChannel(Flow, DemultiplexKey, String, String, String, String, Address) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException; // Methods 5 public static CutThroughChannel create(Flow, DemultiplexKey, String, String, String, String, Address) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException; public void addBuffer(BufferHandle); void destroy(); public BufferHandle remBuffer(); public String toString(); }
Java wrapper for a CutThroughChannel.
See Also: InChannel, OutChannel
Cross Reference |
Constructors |
· CutThroughChannel | Summary | Top |
private CutThroughChannel(Flow flow, DemultiplexKey classifier, String inProtocolSpec, String outProtocolSpec, String inAddressSpec, String outAddressSpec, Address destAddr) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException
Constructors are private so I can do a validity check on the arguments.
Methods |
· create | Summary | Top |
public static CutThroughChannel create(Flow flow, DemultiplexKey classifier, String inProtocolSpec, String outProtocolSpec, String inAddressSpec, String outAddressSpec, Address destAddr) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException
· addBuffer | Summary | Top |
public void addBuffer(BufferHandle bufh)
Add a buffer to the channel
· remBuffer | Summary | Top |
public BufferHandle remBuffer()
Remove a buffer from the channel. A new BufferHandle is allocated to point to the buffer.
XXX new a call that takes a BufferHandle and points it at the underlying buffer object.
- Returns:
- A new BufferHandle pointing to the removed buffer.
· destroy | Summary | Top |
void destroy()
- Overrides:
- destroy in class pj_CutThroughChannel
· toString | Summary | Top |
public String toString()
- Overrides:
- toString in class Object
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7