org.jgroups.protocols.relay.config
Class RelayConfig.SiteConfig

java.lang.Object
  extended by org.jgroups.protocols.relay.config.RelayConfig.SiteConfig
Enclosing class:
RelayConfig

public static class RelayConfig.SiteConfig
extends java.lang.Object


Field Summary
protected  java.util.List<RelayConfig.BridgeConfig> bridges
           
protected  java.util.List<RelayConfig.ForwardConfig> forwards
           
protected  short id
           
protected  java.lang.String name
           
 
Constructor Summary
RelayConfig.SiteConfig(java.lang.String name, short id)
           
 
Method Summary
 RelayConfig.SiteConfig addBridge(RelayConfig.BridgeConfig bridge_config)
           
 RelayConfig.SiteConfig addForward(RelayConfig.ForwardConfig forward_config)
           
 java.util.List<RelayConfig.BridgeConfig> getBridges()
           
 java.util.List<RelayConfig.ForwardConfig> getForwards()
           
 short getId()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final java.lang.String name

id

protected final short id

bridges

protected final java.util.List<RelayConfig.BridgeConfig> bridges

forwards

protected final java.util.List<RelayConfig.ForwardConfig> forwards
Constructor Detail

RelayConfig.SiteConfig

public RelayConfig.SiteConfig(java.lang.String name,
                              short id)
Method Detail

getId

public short getId()

getName

public java.lang.String getName()

getBridges

public java.util.List<RelayConfig.BridgeConfig> getBridges()

getForwards

public java.util.List<RelayConfig.ForwardConfig> getForwards()

addBridge

public RelayConfig.SiteConfig addBridge(RelayConfig.BridgeConfig bridge_config)

addForward

public RelayConfig.SiteConfig addForward(RelayConfig.ForwardConfig forward_config)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.