All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.antsr.apps.multicast.MulticastApplication
java.lang.Object
   |
   +----edu.utah.janos.antsr.core.Entity
           |
           +----edu.utah.janos.antsr.core.Application
                   |
                   +----edu.utah.janos.antsr.apps.multicast.MulticastApplication

  Summary

public class  MulticastApplication
     extends edu.utah.janos.antsr.core.Application
{
          // Fields 5
     private static final String[] DEFAULTS;
     int group;
     int scount;
     int sdelay;
     int target;

          // Constructors 1
     public MulticastApplication();

          // Methods 3
     public synchronized void receive(Capsule);
     public void setArgs(KeyArgs) throws InvalidKeyArgsException;
     public void start() throws Exception;
}

The Multicast test application for ANTSR(R). Input: -delay n Number of milliseconds to wait between multicast subscriptions or number of milliseconds to wait between multicasts. -target a Address of multicast sender (target for subscriptions). -group a Multicast group "address". Output: This program generates output indicating when capsules are received.

Author:
David Wetherall




  Fields

· target

Summary  |  Top

   int target


· group

Summary  |  Top
   int group


· sdelay

Summary  |  Top
   int sdelay


· scount

Summary  |  Top
   int scount


· DEFAULTS

Summary  |  Top
   private static final String[] DEFAULTS


  Constructors

· MulticastApplication

Summary  |  Top

   public MulticastApplication() 


  Methods

· receive

Summary  |  Top
   public synchronized void receive(Capsule cap) 
Overrides:
receive in class Application


· setArgs

Summary  |  Top
   public void setArgs(KeyArgs k)  throws InvalidKeyArgsException
Overrides:
setArgs in class Application


· start

Summary  |  Top
   public void start()  throws Exception
Overrides:
start in class Application


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