|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object urv.machannel.ChannelGenerator
public class ChannelGenerator
This class is responsible of create MChannel instances. In Emulation mode also generates and registrates some test applications in the same JVM, emulating a network where the peer share the channel and are running the test application.
Constructor Summary | |
---|---|
ChannelGenerator(boolean emulated)
|
Method Summary | |
---|---|
MChannel |
createMChannel(MulticastAddress mcastAddr)
This method returns and initiates a MChannel instance when the channel is used in a not emulated environment. |
MChannel |
createMChannel(MulticastAddress mcastAddr,
Application application,
EmulationController controller)
This method returns and initiates a MChannel instance. |
MChannel |
createMChannel(MulticastAddress mcastAddr,
java.lang.String groupId)
This method returns and initiates a MChannel instance when the channel is used in a not emulated environment. |
MChannel |
createMChannel(java.lang.String mcastAddr,
java.lang.String groupId)
This method returns and initiates a MChannel instance when the channel is used in a not emulated environment. |
void |
registerApplicationId(Application app,
java.lang.Integer id)
Inserts into the applicationIds attribute the new application instance created |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelGenerator(boolean emulated)
Method Detail |
---|
public MChannel createMChannel(MulticastAddress mcastAddr, Application application, EmulationController controller)
mcastAddr
- application
- notif
-
public MChannel createMChannel(MulticastAddress mcastAddr)
mcastAddr
- application
- notif
-
public MChannel createMChannel(MulticastAddress mcastAddr, java.lang.String groupId)
mcastAddr
- application
- notif
-
public MChannel createMChannel(java.lang.String mcastAddr, java.lang.String groupId)
mcastAddr
- application
- notif
-
public void registerApplicationId(Application app, java.lang.Integer id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |