be.ac.ucl.ingi.totem.scenario.model
Class CBGPInfo
java.lang.Object
be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
be.ac.ucl.ingi.totem.scenario.model.jaxb.impl.CBGPInfoTypeImpl
be.ac.ucl.ingi.totem.scenario.model.jaxb.impl.CBGPInfoImpl
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:
--------
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl |
_Time |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CBGPInfo
public CBGPInfo()
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.