urv.conf
Class ApplicationConfig

java.lang.Object
  extended by urv.conf.ApplicationConfig

public class ApplicationConfig
extends java.lang.Object

This class is used to set the protocol stack into the application.

Author:
Marcel Arrufat Arias

Field Summary
static org.jgroups.Address BROADCAST_ADDRESS
           
static byte[] emulatedIPs
           
static int LOCAL_BROADCAST_MIN_NEIGHBOURS
           
static java.lang.String OMOLSR_PROTOCOL
           
static java.lang.String SMCAST_PROTOCOL
           
 
Constructor Summary
ApplicationConfig()
           
 
Method Summary
static java.lang.String getProtocolStackConfig(int nodeNumber, int port)
          Protocol stack WITHOUT multicast protocol
static java.lang.String getProtocolStackConfig(int nodeNumber, int port, java.net.InetAddress group)
          Protocol stack WITH multicast protocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OMOLSR_PROTOCOL

public static final java.lang.String OMOLSR_PROTOCOL
See Also:
Constant Field Values

SMCAST_PROTOCOL

public static final java.lang.String SMCAST_PROTOCOL
See Also:
Constant Field Values

LOCAL_BROADCAST_MIN_NEIGHBOURS

public static final int LOCAL_BROADCAST_MIN_NEIGHBOURS
See Also:
Constant Field Values

emulatedIPs

public static byte[] emulatedIPs

BROADCAST_ADDRESS

public static org.jgroups.Address BROADCAST_ADDRESS
Constructor Detail

ApplicationConfig

public ApplicationConfig()
Method Detail

getProtocolStackConfig

public static java.lang.String getProtocolStackConfig(int nodeNumber,
                                                      int port)
Protocol stack WITHOUT multicast protocol


getProtocolStackConfig

public static java.lang.String getProtocolStackConfig(int nodeNumber,
                                                      int port,
                                                      java.net.InetAddress group)
Protocol stack WITH multicast protocol