All Packages This Package Class Hierarchy Class Search Index
Class edu.utah.janos.antsr.apps.multicast.MulticastCapsule
java.lang.Object
|
+----edu.utah.janos.antsr.core.Capsule
|
+----edu.utah.janos.antsr.apps.multicast.MulticastCapsule
public class MulticastCapsule
extends edu.utah.janos.antsr.core.Capsule
{
// Fields 5
private static final byte[] MID;
private static final byte[] PID;
ByteArray data;
short destport;
int group;
// Constructors 2
public MulticastCapsule();
public MulticastCapsule(int, int, short, ByteArray);
// Methods 6
public Xdr decode();
public Xdr encode();
public boolean evaluate(Node);
public int length();
protected byte[] mid();
protected byte[] pid();
}
Multicast capsule processing. These correspond to the multicast data
packets.
- Author:
-
David Wetherall
private static final byte[] MID
private static final byte[] PID
int group
short destport
ByteArray data
public MulticastCapsule()
public MulticastCapsule(int group,
int target,
short destport,
ByteArray data)
protected byte[] mid()
- Overrides:
- mid in class Capsule
protected byte[] pid()
- Overrides:
- pid in class Capsule
public int length()
Return the length of this capsule.
- Overrides:
- length in class Capsule
public Xdr encode()
Encode this capsule.
- Overrides:
- encode in class Capsule
public Xdr decode()
Decode this capsule.
- Overrides:
- decode in class Capsule
public boolean evaluate(Node n)
Process this capsule at the node.
Parameter | Description |
n | The current node. |
- Overrides:
- evaluate in class Capsule
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7