be.ac.ucl.ingi.totem.scenario.model
Class CBGPInfo

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
      extended by be.ac.ucl.ingi.totem.scenario.model.jaxb.impl.CBGPInfoTypeImpl
          extended by be.ac.ucl.ingi.totem.scenario.model.jaxb.impl.CBGPInfoImpl
              extended by be.ac.ucl.ingi.totem.scenario.model.CBGPInfo
All Implemented Interfaces:
CBGPInfo, CBGPInfoType, Event, EventType, UnmarshallableObject, ValidatableObject, XMLSerializable, com.sun.xml.bind.JAXBObject, com.sun.xml.bind.RIElement, javax.xml.bind.Element

public class CBGPInfo
extends CBGPInfoImpl
implements Event

This class implements a CBGP specific event.

Author:
: Fabian Skivee (skivee@run.montefiore.ulg.ac.be) Contributor(s) : Bruno Quoitin (bqu@info.ucl.ac.be) Creation date : 10-Dec-2004 Changes: --------

Nested Class Summary
 
Nested classes/interfaces inherited from class be.ac.ucl.ingi.totem.scenario.model.jaxb.impl.CBGPInfoImpl
CBGPInfoImpl.Unmarshaller
 
Field Summary
 
Fields inherited from class be.ac.ucl.ingi.totem.scenario.model.jaxb.impl.CBGPInfoImpl
version
 
Fields inherited from class be.ac.ucl.ingi.totem.scenario.model.jaxb.impl.CBGPInfoTypeImpl
_Info, _Param
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
_Time
 
Constructor Summary
CBGPInfo()
           
 
Method Summary
 EventResult action()
          This method must be implemented by each event.
 java.lang.String actionGetAdjRIB(CBGPSimulator cbgp, java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
          Dumps the BGP Adjacent Routing Information Base(s) of the given router.
 java.lang.String actionGetLinks(CBGPSimulator cbgp, java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
          Dumps the list of links of the given router.
 java.lang.String actionGetPeers(CBGPSimulator cbgp, java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
          Dumps the neighbors of the given router.
 java.lang.String actionGetRIB(CBGPSimulator cbgp, java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
          Dumps the BGP Routing Information Base of the given router.
 java.lang.String actionGetRT(CBGPSimulator cbgp, java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
          Dumps the routing table of the given router.
 java.lang.String actionRecordRoute(CBGPSimulator cbgp, java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
          Dumps the traced-route from a source node to a destination node.
 
Methods inherited from class be.ac.ucl.ingi.totem.scenario.model.jaxb.impl.CBGPInfoImpl
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs
 
Methods inherited from class be.ac.ucl.ingi.totem.scenario.model.jaxb.impl.CBGPInfoTypeImpl
_getParam, getInfo, getParam, isSetInfo, isSetParam, setInfo, unsetInfo, unsetParam
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
getTime, isSetTime, setTime, unsetTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface be.ac.ucl.ingi.totem.scenario.model.jaxb.CBGPInfoType
getInfo, getParam, isSetInfo, isSetParam, setInfo, unsetInfo, unsetParam
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.EventType
getTime, isSetTime, setTime, unsetTime
 

Constructor Detail

CBGPInfo

public CBGPInfo()
Method Detail

actionGetRT

public java.lang.String actionGetRT(CBGPSimulator cbgp,
                                    java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
                             throws java.lang.Exception,
                                    RoutingException
Dumps the routing table of the given router. Parameters: - router [mandatory] - prefix [optional]

Throws:
java.lang.Exception
RoutingException

actionGetRIB

public java.lang.String actionGetRIB(CBGPSimulator cbgp,
                                     java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
                              throws java.lang.Exception,
                                     RoutingException
Dumps the BGP Routing Information Base of the given router. Parameters: - router [mandatory] - prefix [optional]

Throws:
java.lang.Exception
RoutingException

actionGetAdjRIB

public java.lang.String actionGetAdjRIB(CBGPSimulator cbgp,
                                        java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
                                 throws java.lang.Exception,
                                        RoutingException
Dumps the BGP Adjacent Routing Information Base(s) of the given router. Parameters: - router [mandatory] - peer [optional] - prefix [optional] - in [optional, default=true]

Throws:
java.lang.Exception
RoutingException

actionGetLinks

public java.lang.String actionGetLinks(CBGPSimulator cbgp,
                                       java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
                                throws java.lang.Exception,
                                       RoutingException
Dumps the list of links of the given router. Parameters: - router [mandatory]

Throws:
java.lang.Exception
RoutingException

actionGetPeers

public java.lang.String actionGetPeers(CBGPSimulator cbgp,
                                       java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
                                throws java.lang.Exception,
                                       RoutingException
Dumps the neighbors of the given router. Parameters: - router [mandatory]

Throws:
java.lang.Exception
RoutingException

actionRecordRoute

public java.lang.String actionRecordRoute(CBGPSimulator cbgp,
                                          java.util.HashMap<java.lang.String,java.lang.String> paramsIndex)
                                   throws java.lang.Exception,
                                          RoutingException
Dumps the traced-route from a source node to a destination node. Parameters: - src [mandatory] - dst [mandatory]

Throws:
java.lang.Exception
RoutingException

action

public EventResult action()
                   throws EventExecutionException
Description copied from interface: Event
This method must be implemented by each event. This method contains what must be done to process the event.

Specified by:
action in interface Event
Throws:
EventExecutionException


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.