wt.router
Class RouterConfig

java.lang.Object
  extended bywt.router.RouterConfig
All Implemented Interfaces:
Serializable

public class RouterConfig
extends Object
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  Method defaultMethod
           
private  boolean immediate
           
private  int nQueues
           
private static String RESOURCE
           
 Hashtable routedEvents
          

Supported API: false
private  String routerName
           
private  int routerNumber
           
 
Constructor Summary
RouterConfig()
           
 
Method Summary
 Method getDefaultMethod()
          Gets the value of the attribute: defaultMethod.
 Method getEffectiveMethod(Class eventClass, Class objectClass)
          

Supported API: false
 int getNQueues()
          Gets the value of the attribute: nQueues.
 Hashtable getRoutedEvents()
          Gets the object for the association that plays role: routedEvents.
 String getRouterName()
          Gets the value of the attribute: routerName.
 int getRouterNumber()
          Gets the value of the attribute: routerNumber.
 boolean isImmediate()
          Gets the value of the attribute: immediate.
static RouterConfig newRouterConfig(String routerName, int routerNum, RouterIfc router)
          

Supported API: false
(package private)  void printConfig()
           
private  void routerNameValidate(String a_RouterName)
           
 void setDefaultMethod(Method a_DefaultMethod)
          Sets the value of the attribute: defaultMethod.
 void setImmediate(boolean a_Immediate)
          Sets the value of the attribute: immediate.
 void setNQueues(int a_NQueues)
          Sets the value of the attribute: nQueues.
 void setRouterName(String a_RouterName)
          Sets the value of the attribute: routerName.
 void setRouterNumber(int a_RouterNumber)
          Sets the value of the attribute: routerNumber.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

routerName

private String routerName

routerNumber

private int routerNumber

immediate

private boolean immediate

nQueues

private int nQueues

defaultMethod

private Method defaultMethod

routedEvents

public final Hashtable routedEvents


Supported API: false

Constructor Detail

RouterConfig

public RouterConfig()
Method Detail

getRouterName

public String getRouterName()
Gets the value of the attribute: routerName.

Supported API: false

Returns:
String

setRouterName

public void setRouterName(String a_RouterName)
                   throws WTPropertyVetoException
Sets the value of the attribute: routerName.

Supported API: false

Parameters:
a_RouterName -
Throws:
WTPropertyVetoException

routerNameValidate

private void routerNameValidate(String a_RouterName)
                         throws WTPropertyVetoException
Parameters:
a_RouterName -
Throws:
WTPropertyVetoException

getRouterNumber

public int getRouterNumber()
Gets the value of the attribute: routerNumber.

Supported API: false

Returns:
int

setRouterNumber

public void setRouterNumber(int a_RouterNumber)
                     throws WTPropertyVetoException
Sets the value of the attribute: routerNumber.

Supported API: false

Parameters:
a_RouterNumber -
Throws:
WTPropertyVetoException

isImmediate

public boolean isImmediate()
Gets the value of the attribute: immediate.

Supported API: false

Returns:
boolean

setImmediate

public void setImmediate(boolean a_Immediate)
                  throws WTPropertyVetoException
Sets the value of the attribute: immediate.

Supported API: false

Parameters:
a_Immediate -
Throws:
WTPropertyVetoException

getNQueues

public int getNQueues()
Gets the value of the attribute: nQueues.

Supported API: false

Returns:
int

setNQueues

public void setNQueues(int a_NQueues)
                throws WTPropertyVetoException
Sets the value of the attribute: nQueues.

Supported API: false

Parameters:
a_NQueues -
Throws:
WTPropertyVetoException

getDefaultMethod

public Method getDefaultMethod()
Gets the value of the attribute: defaultMethod.

Supported API: false

Returns:
Method

setDefaultMethod

public void setDefaultMethod(Method a_DefaultMethod)
                      throws WTPropertyVetoException
Sets the value of the attribute: defaultMethod.

Supported API: false

Parameters:
a_DefaultMethod -
Throws:
WTPropertyVetoException

getRoutedEvents

public final Hashtable getRoutedEvents()
Gets the object for the association that plays role: routedEvents.

Supported API: false

Returns:
Hashtable

newRouterConfig

public static RouterConfig newRouterConfig(String routerName,
                                           int routerNum,
                                           RouterIfc router)
                                    throws IOException,
                                           WTPropertyVetoException


Supported API: false

Parameters:
routerName -
routerNum -
router -
Returns:
RouterConfig
Throws:
IOException
WTPropertyVetoException

getEffectiveMethod

public Method getEffectiveMethod(Class eventClass,
                                 Class objectClass)


Supported API: false

Parameters:
eventClass -
objectClass -
Returns:
Method

printConfig

void printConfig()