All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.pj_InChannelHandle
| Summary |
class pj_InChannelHandle
extends java.lang.Object
{
// Fields 1
private pj_InChannel inChan;
// Constructors 1
pj_InChannelHandle();
// Methods 5
void copy(pj_InChannelHandle);
boolean push(pj_BufferHandle, int);
boolean pushv(BufferHandle[], int);
void setChannel(pj_InChannel);
public String toString();
}
A cross-process handle on an pj_InChannel. Packets can be inserted into an pj_InChannel via a pj_InChannelHandle.
See Also: InChannelHandle, InChannel, pj_InChannel
| Cross Reference |
| Fields |
· inChan | Summary | Top |
private pj_InChannel inChan
This would be final, except that we need the InChannelHandle to be created first, and then initialized out of a CommSpace.
| Constructors |
· pj_InChannelHandle | Summary | Top |
pj_InChannelHandle()
| Methods |
· setChannel | Summary | Top |
void setChannel(pj_InChannel inChan)
· copy | Summary | Top |
void copy(pj_InChannelHandle other)
· push | Summary | Top |
boolean push(pj_BufferHandle pkt,
int payloadStart)
Push a buffer onto the associated InChannel.
XXX currently deals with fragmented buffers internally. Should have a 'pushv' function that deals with buffer aggregates. That our we should require that aggregates are linearized by the caller.
XXX payload start is gross a hack. Might not even be necessary?
XXX returns a swapped buffer (or null)?
· pushv | Summary | Top |
boolean pushv(BufferHandle[] bhl,
int payloadStart)
· 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