All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.pj_ProtocolLayer.PacketGenerator | +----edu.utah.janos.nodeos.pj_OutChannel | +----edu.utah.janos.nodeos.OutChannel
Summary |
public final class OutChannel extends edu.utah.janos.nodeos.pj_OutChannel { // Constructors 1 private OutChannel(Flow, String, String) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException; // Methods 7 public static OutChannel create(Flow, String, String) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException; void destroy(); public void send(BufferHandle); public void sendAndRecycle(BufferHandle, InChannel); public void sendAsync(BufferHandle, DeliverFunc); public void sendv(BufferHandle[]); public String toString(); }
Java wrapper for a NodeOS OutChannel.
See Also: CutThroughChannel, InChannel
Cross Reference |
Constructors |
· OutChannel | Summary | Top |
private OutChannel(Flow flow, String protocolSpec, String addressSpec) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException
Methods |
· create | Summary | Top |
public static OutChannel create(Flow flow, String protocolSpec, String addressSpec) throws IOException, PacketAddressFormatException, ProtocolSpecFormatException
Create a new OutChannel.
· send | Summary | Top |
public void send(BufferHandle bh)
Send a single buffer. This is a synchronous send. The buffer will be owned by the system for the duration of the send, and then ownership will be restored to the caller after the send.
· sendAndRecycle | Summary | Top |
public void sendAndRecycle(BufferHandle bh, InChannel dustbin)
Send a single buffer. Recycle the buffer (by making it available to the given InChannel after the send is complete. This is a synchronous send. (It should probably be async.)
· sendAsync | Summary | Top |
public void sendAsync(BufferHandle bh, DeliverFunc callback)
· sendv | Summary | Top |
public void sendv(BufferHandle[] bh)
Send an array of buffer handles.
· destroy | Summary | Top |
void destroy()
- Overrides:
- destroy in class pj_OutChannel
· toString | Summary | Top |
public String toString()
- Overrides:
- toString in class pj_OutChannel
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7