All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.antsr.apps.pong.PongCapsule
java.lang.Object
   |
   +----edu.utah.janos.antsr.core.Capsule
           |
           +----edu.utah.janos.antsr.core.DataCapsule
                   |
                   +----edu.utah.janos.antsr.apps.pong.PongCapsule

  Summary

public class  PongCapsule
     extends edu.utah.janos.antsr.core.DataCapsule
{
          // Fields 4
     private static final byte[] MID;
     private static final byte[] PID;
     public boolean pong;
     public int seqId;

          // Constructors 2
     public PongCapsule();
     public PongCapsule(short, short, int, ByteArray);

          // Methods 6
     public Xdr decode();
     public Xdr encode();
     public boolean evaluate(Node);
     public int length();
     protected byte[] mid();
     protected byte[] pid();
}

Pong capsule.

Author:
David Wetherall , Janos Ministry of Development




  Fields

· MID

Summary  |  Top

   private static final byte[] MID


· PID

Summary  |  Top
   private static final byte[] PID


· pong

Summary  |  Top
   public boolean pong


· seqId

Summary  |  Top
   public int seqId

Sequence number for the pong capsule.


  Constructors

· PongCapsule

Summary  |  Top

   public PongCapsule() 


· PongCapsule

Summary  |  Top
   public PongCapsule(short sa, 
                      short da, 
                      int na, 
                      ByteArray d) 


  Methods

· mid

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


· pid

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


· length

Summary  |  Top
   public int length() 
Overrides:
length in class DataCapsule


· encode

Summary  |  Top
   public Xdr encode() 
Overrides:
encode in class DataCapsule


· decode

Summary  |  Top
   public Xdr decode() 
Overrides:
decode in class DataCapsule


· evaluate

Summary  |  Top
   public boolean evaluate(Node n) 
Overrides:
evaluate in class DataCapsule


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7