All Packages This Package Class Hierarchy Class Search Index
Summary |
public interface DeliverFunc { // Methods 1 public abstract void receive(BufferHandle, int) throws IOException; }
Java wrapper for a DeliverFunc. This "callback" is invoked when a packet is received. Objects that implement this interface are passed to InChannel create calls.
See Also: InChannel
Cross Reference |
Methods |
· receive | Summary | Top |
public abstract void receive(BufferHandle packet, int payloadOffset) throws IOException
Invoked once for each packet that is received. The "payloadOffset" is defined as the first byte of the packet that wasn't used to match the demultiplexKey.
XXX why does this throw IOException?
Parameter Description packet the packet that was recieved. payloadOffset the integer returned from the DemultiplexKey.matches() function.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7