edu.utah.janos.nodeos
Class CutThroughChannel
java.lang.Object
|
+--edu.utah.janos.nodeos.pj_CutThroughChannel
|
+--edu.utah.janos.nodeos.CutThroughChannel
- public final class CutThroughChannel
- extends edu.utah.janos.nodeos.pj_CutThroughChannel
Java wrapper for a CutThroughChannel.
- Author:
- Janos Ministry of Development
- See Also:
InChannel
,
OutChannel
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
create
public static CutThroughChannel create(Flow flow,
DemultiplexKey classifier,
ThreadPoolSpec inchan_tps,
NetworkSpec outchan_ns,
java.lang.String inProtocolSpec,
java.lang.String outProtocolSpec,
java.lang.String inAddressSpec,
java.lang.String outAddressSpec,
Address destAddr)
throws java.io.IOException,
PacketAddressFormatException,
ProtocolSpecFormatException
addBuffer
public void addBuffer(BufferHandle bufh)
- Add a buffer to the channel
remBuffer
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.
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
This documentation is Copyright (C) 1998-2001 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/