edu.utah.janos.nodeos
Class InChannelHandle
java.lang.Object
|
+--edu.utah.janos.nodeos.pj_InChannelHandle
|
+--edu.utah.janos.nodeos.InChannelHandle
- public final class InChannelHandle
- extends edu.utah.janos.nodeos.pj_InChannelHandle
- implements edu.utah.janosvm.kit.comm.commspace.CommSpaceable
A cross-process handle on a Java NodeOS InChannel.
Packets can be inserted into an InChannel via an InChannelHandle.
- Author:
- Janos Ministry of Development
- See Also:
InChannel
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
InChannelHandle
public InChannelHandle()
- Construct a handle that doesn't refer to anything.
InChannelHandle
public InChannelHandle(InChannel inChan)
- Parameters:
inChan
- The InChannel object that this handle should refer
too.
copy
public void copy(InChannelHandle otherChan)
- Parameters:
otherChan
- The InChannelHandle to copy.
deepCopy
public java.lang.Object deepCopy()
- Deep copy to be performed when this is pulled out of a
CommSpaceElement
This appears due to the CommSpaceable interface
- Specified by:
- deepCopy in interface edu.utah.janosvm.kit.comm.commspace.CommSpaceable
handoff
public boolean handoff(BufferHandle pkt)
- Push a buffer onto the associated InChannel. The given
packet data is either copied into or swapped with
packet data on the InChannel.
Returns true if the packet was swapped/copied. False if the
not (the channel is dead, there was no buffer space, etc).
handoffv
public boolean handoffv(BufferHandle[] bhl)
toString
public java.lang.String toString()
- Overrides:
- toString in class edu.utah.janos.nodeos.pj_InChannelHandle
This documentation is Copyright (C) 1998-2002 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 web site: http://www.cs.utah.edu/flux/janos/
Generated on Mar 17, 2002