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
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
int target
int group
int sdelay
int scount
private static final String[] DEFAULTS
public MulticastApplication()
public synchronized void receive(Capsule cap)
- Overrides:
- receive in class Application
public void setArgs(KeyArgs k) throws InvalidKeyArgsException
- Overrides:
- setArgs in class Application
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