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

  Summary

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




  Fields

· MID

Summary  |  Top

   private static final byte[] MID


· PID

Summary  |  Top
   private static final byte[] PID


· group

Summary  |  Top
   int group


· destport

Summary  |  Top
   short destport


· data

Summary  |  Top
   ByteArray data


  Constructors

· MulticastCapsule

Summary  |  Top

   public MulticastCapsule() 


· MulticastCapsule

Summary  |  Top
   public MulticastCapsule(int group, 
                           int target, 
                           short destport, 
                           ByteArray data) 


  Methods

· mid

Summary  |  Top
   protected byte[] mid() 
Overrides:
mid in class Capsule


· pid

Summary  |  Top
   protected byte[] pid() 
Overrides:
pid in class Capsule


· length

Summary  |  Top
   public int length() 

Return the length of this capsule.

Overrides:
length in class Capsule


· encode

Summary  |  Top
   public Xdr encode() 

Encode this capsule.

Overrides:
encode in class Capsule


· decode

Summary  |  Top
   public Xdr decode() 

Decode this capsule.

Overrides:
decode in class Capsule


· evaluate

Summary  |  Top
   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