All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.ants.ants.UnknownPacketHandler
Summary |
final class UnknownPacketHandler extends java.lang.Object implements edu.utah.janos.core.DeliverFunc { // Fields 3 private static final float RANDOM_DUPMIDREQ_FRACTION; private final Node node; private final Random random; // Constructors 1 UnknownPacketHandler(Node); // Methods 2 public final void receive(BufferHandle, int); public String toString(); }
Handle an ANTS packet of unknown MID %AUTHOR_CKH%
Fields |
· node | Summary | Top |
private final Node node
· random | Summary | Top |
private final Random random
· RANDOM_DUPMIDREQ_FRACTION | Summary | Top |
private static final float RANDOM_DUPMIDREQ_FRACTION
Constructors |
· UnknownPacketHandler | Summary | Top |
UnknownPacketHandler(Node node)
Create the UnknownPacketHandler. Only need one of these per node...
Methods |
· receive | Summary | Top |
public final void receive(BufferHandle bufh, int payloadStart)
Unknown packet handler. For ANTS packets that don't match an installed MID.
This is the only method defined by the DeliverFunc interface.
- Implements:
- receive in interface DeliverFunc
See Also: DeliverFunc
· 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