J-Sim v1.2.1-p7 API

Uses of Class
drcl.comp.Component

Packages that use Component
drcl.comp   
drcl.comp.io   
drcl.comp.lib   
drcl.comp.lib.bytestream   
drcl.comp.queue   
drcl.comp.tool   
drcl.diffserv   
drcl.diffserv.scheduling   
drcl.inet   
drcl.inet.application   
drcl.inet.core   
drcl.inet.core.ni   
drcl.inet.core.queue   
drcl.inet.protocol   
drcl.inet.protocol.dv   
drcl.inet.protocol.dvmrp   
drcl.inet.protocol.ospf   
drcl.inet.socket   
drcl.inet.tool   
drcl.inet.transport   
drcl.intserv   
drcl.intserv.scheduler   
drcl.net   
drcl.net.tool   
drcl.net.traffic   
drcl.ruv   
drcl.sim.event   
 

Uses of Component in drcl.comp
 

Subclasses of Component in drcl.comp
 class ComponentTemplate
          This component provides skeleton codes for writing a component.
 class Extension
          An extension is a component that behaves as part of other components in the sense that when data arrives at an extension, instead of a new thread is created to handle the data, the thread at the sending component carries over the component boundary.
 class WrapperComponent
          Component that wraps a non-component object.
 

Fields in drcl.comp declared as Component
 Component Util.Link.nextHop
           
 Component Port.host
           
 Component Component.parent
          Parent component.
static Component Component.Root
          The root of the component system.
 

Methods in drcl.comp that return Component
static Component Util.resolvePath(java.lang.String path_, Component start_)
          Returns the component, given a relative path and the starting component of the path.
static Component Util.sClone(Component comp_)
          Returns a clone of this component using object serialization.
static Component Util.load(java.io.ObjectInputStream in_)
          Loads a component hierarchy from the ObjectInputStream.
static Component[] Util.getAllComponents(Component root_)
          Returns all components in the component hierarchy, including root_.
 Component Port.getHost()
          Returns the host component.
 Component Component.getParent()
          Returns the parent component.
 Component Component.removeComponent(Component c_)
          Removes a child from this component.
 Component Component.removeComponent(java.lang.String id_)
          Removes a child given the component ID.
 Component[] Component.getAllComponents()
          Returns all the child components.
 Component Component.getComponent(java.lang.String id_)
          Returns the child given the component ID.
 Component Component.getRoot()
          Returns the root component of the component system.
 

Methods in drcl.comp with parameters of type Component
protected  void WorkerThread.startComponent(Component c_)
           
protected  void WorkerThread.stopComponent(Component c_)
           
protected  void WorkerThread.resumeComponent(Component c_)
           
protected abstract  void WorkerThread.releaseAllLocks(Component host_)
           
protected abstract  void WorkerThread.lock(Component host_, java.lang.Object o_)
           
protected  void WorkerThread.unlock(Component host_, java.lang.Object o_)
           
protected abstract  void WorkerThread.unlock(Component host_, java.lang.Object o_, boolean release_)
           
protected abstract  void WorkerThread.wait(Component host_, java.lang.Object o_)
           
protected abstract  void WorkerThread.notify(Component host_, java.lang.Object o_)
           
protected abstract  void WorkerThread.notifyAll(Component host_, java.lang.Object o_)
           
static java.lang.String[] Util.getAllPortGroupIDs(Component c_)
          Returns the ID's of all port groups being created in the component.
static java.lang.String Util.getFullID(Component o_)
          Returns the full path of a component.
static java.lang.String Util.getID(Component o_, Component stop_)
          Returns the partial path of a component starting from the stop_ ancester.
static java.lang.String Util.getID(Component o_, java.lang.Class stopClass_)
          Returns the partial path of a component starting from the closest ancester that belongs to the given class.
static java.lang.String Util.getPortID(Port p_, Component stop_)
          Returns the partial path of a port starting from the stop_ ancester.
static java.lang.String Util.getPortID(Port p_, Component stop_, boolean type_)
          Returns the partial path of a port starting from the stop_ ancester.
static Component Util.resolvePath(java.lang.String path_, Component start_)
          Returns the component, given a relative path and the starting component of the path.
static java.lang.String Util.compare(Component c1_, Component c2_)
          Does a structural comparison between two components.
static boolean Util.contains(Component container_, Component child_)
          Returns true if the container_ component is an ancester of the child_ component.
static java.lang.String Util.showConnections(Component c_)
          Returns a report of the connections inside the component.
static java.lang.String Util.showConnections(Component c_, boolean showNoConn_, boolean showType_, boolean showHidden_, boolean showOutside_)
          Returns a report of the connections inside the component.
static Component Util.sClone(Component comp_)
          Returns a clone of this component using object serialization.
static void Util.save(java.io.ObjectOutputStream s_, Component subroot_)
          Saves the component hierarchy with the given root to the ObjectOutputStream.
static void Util.setRuntime(Component c_, ACARuntime m_)
          Associates the runtime (ACARuntime) to the component.
static ACARuntime Util.getRuntime(Component c_)
          Returns the associated runtime (ACARuntime) of the component.
static void Util.setForkManager(Component c_, ForkManager fm_)
          Associates the ForkManager to the component.
static ForkManager Util.getForkManager(Component c_)
          Returns the associated ForkManager of the component.
static java.util.Hashtable Util.verify(Component[] components_, boolean recursive_)
          Verifies the connections inside the specified container component.
static Util.Link[] Util.getLinks(Component target_)
          Explores a component's neighbors in a hierarchical mannger.
static java.util.Hashtable Util.explore(Component target_, java.lang.Object transparent_)
          Explores the topology seen from the specified component in a hierarchical mannger.
static java.util.Hashtable Util.explore(Component target_, java.lang.Object[] transparent_)
          Explores the topology seen from the specified component in a hierarchical mannger.
static java.util.Hashtable Util.explore(Component target_, java.lang.Object[] transparent_, java.lang.Object[] excluded_)
          Explores the topology seen from the specified component in a hierarchical mannger.
static java.util.Hashtable Util.explore(Component target_, java.lang.Object[] transparent_, java.lang.Object[] excluded_, boolean verbose_)
          Explores the topology seen from the specified component in a hierarchical mannger.
static java.util.Hashtable Util.explore(Component[] targets_, java.lang.Object[] transparent_, java.lang.Object[] excluded_, boolean verbose_)
          Explores the topology seen from the specified components in a hierarchical mannger.
static java.util.Hashtable Util.exploreFlat(Component target_, java.lang.Object[] transparent_, java.lang.Object[] excluded_)
          Explores the topology seen from the specified component in a "flat" (as opposed to "hierarchical") mannger.
static java.util.Hashtable Util.exploreFlat(Component target_, java.lang.Object[] transparent_, java.lang.Object[] excluded_, boolean verbose_)
          Explores the topology seen from the specified component in a "flat" (as opposed to "hierarchical") mannger.
static java.util.Hashtable Util.exploreFlat(Component[] targets_, java.lang.Object[] transparent_, java.lang.Object[] excluded_, boolean verbose_)
          Explores the topology seen from the specified components in a "flat" (as opposed to "hierarchical") mannger.
static java.lang.String Util.lockinfo(Component c_)
          Returns the report of the lock information in the component.
static java.lang.String Util.getAllProperties(Component c_)
          Returns all the properties of the component.
static java.lang.String Util.getProperty(Component c_, java.lang.String pname_)
          Returns the property of the component in String.
static long Util.count(Component root_)
          Returns the number of components inside root_.
static void Util.optimize(Component root_)
           
static Wire[] Util.getAllWires(Component root_)
          Returns all wires in the component hierarchy.
static Component[] Util.getAllComponents(Component root_)
          Returns all components in the component hierarchy, including root_.
static Task Task.createStart(Component c_, double time_)
          Creates a special task to start the component system.
static Task Task.createStop(Component c_, double time_)
          Creates a special task to stop the component system.
static Task Task.createResume(Component c_, double time_)
          Creates a special task to resume the component system.
 void Port.setHost(Component host_)
          Sets the host component.
 void ForkManager.takeover(Component c_)
          Takes over as the fork manager of the component system under c_.
 void ForkManager.takeover(Component c_, boolean asParent_)
          Takes over as the fork manager of the component system under c_.
 boolean Component.connect(Component c_, boolean shared_)
          stablishes a two-way connection between this and the specified component.
 Port Component.exposePort(Component child_, java.lang.String pid_)
          Creates a port that proxies for the client port, specified by the child component, group id and port id.
 Port Component.exposePort(Component child_, java.lang.String groupID_, java.lang.String id_)
          Creates a shadow port for a port of the child component's, specified by the child component, the port group id and the port id.
 Port Component.exposePort(Component child_, java.lang.String groupID_, java.lang.String id_, java.lang.String mygroupID_, java.lang.String myID_)
          Creates a shadow port, with the given group id and the port id, for a port of the child component, specified by the child component, the port group id and the port id.
 void Component.addComponent(Component c_)
          Adds a child component.
 void Component.addComponent(Component c_, boolean inheritRuntime_)
          Adds a child component.
 boolean Component.containsComponent(Component c_)
          Returns true if the specified component is an immediate child of this component.
 boolean Component.isAncestorOf(Component c_)
          Returns true if the component hierarchy rooted at this component contains the specified component.
 boolean Component.isDirectlyRelatedTo(Component c_)
          Returns true if one component contains the other's.
 Component Component.removeComponent(Component c_)
          Removes a child from this component.
 void Component.expose(Component child_)
          Makes the child component receives all the data as this parent component does.
 void Component.unexpose(Component child_)
          Undoes what expose(Component) did.
 void Component.exposeEventPorts(Component c_)
          Exposes the event ports of the given child component.
protected  void Component.componentAdded(Component c_)
          The hookup method for subclasses to handle the event when a child component is added.
protected  void Component.componentRemoved(Component c_)
          The hookup method for subclasses to handle the event when a child component is removed.
 void Component.sduplicate(Component that_)
          Duplicates the child components and the structure (including the shadow connections) from the source component.
 void Component.iduplicate(Component that_)
          Duplicates the internal structure of the source component.
protected  void AWorkerThread.lock(Component host_, java.lang.Object o_)
           
protected  void AWorkerThread.unlock(Component host_, java.lang.Object o_)
           
protected  void AWorkerThread.unlock(Component host_, java.lang.Object o_, boolean release_)
           
protected  void AWorkerThread.releaseAllLocks(Component host_)
           
protected  void AWorkerThread.wait(Component host_, java.lang.Object o_)
           
protected  void AWorkerThread.notify(Component host_, java.lang.Object o_)
           
protected  void AWorkerThread.notifyAll(Component host_, java.lang.Object o_)
           
 void ACARuntime.takeover(Component c_)
           
 

Constructors in drcl.comp with parameters of type Component
Util.Link(Port from_, Component next_, Port to_)
           
SetIDException(Component parent_, java.lang.String id_)
           
AddComponentException(Component parent_, java.lang.String id_)
           
 

Uses of Component in drcl.comp.io
 

Subclasses of Component in drcl.comp.io
 class FileComponent
           
 class Stdout
           
 

Uses of Component in drcl.comp.lib
 

Subclasses of Component in drcl.comp.lib
 class Bouncer
          This component bounces back any arriving data at the port where the data comes.
 class Relay
           
 class RNG
          A random number generation component.
 class Talk
          A simple chat client component.
 class TextDisplay
          A simple text display component.
 

Uses of Component in drcl.comp.lib.bytestream
 

Subclasses of Component in drcl.comp.lib.bytestream
 class ByteStreamNetPeer
          An intermediate component that acts as between a ByteStreamContract component and a real network socket.
 

Uses of Component in drcl.comp.queue
 

Subclasses of Component in drcl.comp.queue
 class ActiveQueue
          An ActiveQueue is a queue and it is designed to interact with a data pulling component.
 class QueueFIFO
           
 

Fields in drcl.comp.queue declared as Component
protected  Component QLogic.host
          The host component who owns this object.
 

Methods in drcl.comp.queue that return Component
 Component QLogic.getHost()
           
 

Methods in drcl.comp.queue with parameters of type Component
 void QLogic.setHost(Component host_)
           
 void QLogic.set(Component host_, java.lang.String pid_)
           
 

Constructors in drcl.comp.queue with parameters of type Component
QLogic(Component host_)
           
QLogic(Component host_, java.lang.String qpid_)
           
 

Uses of Component in drcl.comp.tool
 

Subclasses of Component in drcl.comp.tool
 class ComponentDebugger
          Can specify a set of keyword combinations to filter out unrelated events.
 class ComponentMonitor
          A simple text display component.
 class ComponentTester
          This tester component is designed for testing a component.
 class DataCounter
          This component counts the number of data coming in at any of its ports.
 class Extender
          This component extends the input data with the data assigned to it.
 class HistogramPlotter
           
 class Plotter
           
 class RunningAverage
           
 

Methods in drcl.comp.tool with parameters of type Component
 ComponentMonitor ComponentTester.monitor(Component comp_)
           
 

Constructors in drcl.comp.tool with parameters of type Component
EventTester(Component host_)
           
 

Uses of Component in drcl.diffserv
 

Subclasses of Component in drcl.diffserv
 class HQS
          This component defines the base class for a hierachical queue set.
 class TrafficConditioner
          This implements a wrapper class for classifier and profiler(meter, marker).
 

Uses of Component in drcl.diffserv.scheduling
 

Subclasses of Component in drcl.diffserv.scheduling
 class ColorQueue
          Three Color Queue -- an extension of RED
 class pq
           
 class wrr
           
 

Uses of Component in drcl.inet
 

Subclasses of Component in drcl.inet
 class CoreServiceLayer
          The container class of the core service layer in the Inet architecture.
 class CSLBuilder
          The base class for building a core service layer.
 class Link
          The base class for modeling a physical link.
 class Network
          The container class for constructing a network in a hierarchical network.
 class Node
          The container class for a network node.
 class NodeBuilder
          The container class for automating the process of constructing a network node.
 class Protocol
          The base class for transport, routing and other signaling protocols.
 

Methods in drcl.inet that return Component
static Component InetUtil.createTrafficSource(TrafficModel trafficModel_, Node dest_)
          Returns a traffic generator component that can be attached to core service layer.
static Component InetUtil.createTrafficSource(TrafficModel trafficModel_, long dest_)
          Returns a traffic generator component that can be attached to core service layer.
static Component InetUtil.createTrafficSource(TrafficModel trafficModel_, long src_, long dest_, long tos_)
          Returns a traffic generator component that generates Inet packets.
static Component InetUtil.createTrafficSource(TrafficModel trafficModel_, java.lang.String id_, Node src_, Node dest_, long tos_, int protocol_)
          Creates a traffic generator component that generates Inet packets and installs it on the source node.
 

Methods in drcl.inet with parameters of type Component
protected  void Node.componentAdded(Component child_)
          Notified when a component is added.
 void Node.add(Component c_, java.lang.String llpid_, int port_)
           
static void InetUtil.createNodes(Component network_, int startIndex_, int endIndex_)
          Creates nodes.
static void InetUtil.createNodes(Component network_, java.lang.String idPrefix_, int startIndex_, int endIndex_)
          Creates nodes.
static void InetUtil.createNodes(Component network_, int nNodes_)
          Creates nodes.
static void InetUtil.createNodes(Component network_, java.lang.String idPrefix_, int nNodes_)
          Creates nodes.
static void InetUtil.createTopology(Component network_, int[][] adjMatrix_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, int[][] adjMatrix_, boolean assignAddress_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, int[][] adjMatrix_, long[] ids_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.Object[] existing_, int[][] adjMatrix_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.Object[] existing_, int[][] adjMatrix_, boolean assignAddress_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.Object[] existing_, int[][] adjMatrix_, long[] ids_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, int[][] adjMatrix_, Link link_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, int[][] adjMatrix_, Link link_, boolean assignAddress_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, int[][] adjMatrix_, long[] ids_, Link link_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.Object[] existing_, int[][] adjMatrix_, Link link_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.Object[] existing_, int[][] adjMatrix_, Link link_, boolean assignAddress_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.Object[] existing_, int[][] adjMatrix_, long[] ids_, Link link_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.String routerIDPrefix_, java.lang.String hostIDPrefix_, int[][] adjMatrix_, Link link_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.String routerIDPrefix_, java.lang.String hostIDPrefix_, int[][] adjMatrix_, long[] ids_, Link link_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.String routerIDPrefix_, java.lang.String hostIDPrefix_, int[][] adjMatrix_, Link link_, boolean assignAddress_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.String routerIDPrefix_, java.lang.String hostIDPrefix_, java.lang.Object[] existing_, int[][] adjMatrix_, Link link_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.String routerIDPrefix_, java.lang.String hostIDPrefix_, java.lang.Object[] existing_, int[][] adjMatrix_, Link link_, boolean assignAddress_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.String routerIDPrefix_, java.lang.String hostIDPrefix_, java.lang.Object[] existing_, int[][] adjMatrix_, long[] ids_, Link link_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.createTopology(Component network_, java.lang.String routerIDPrefix_, java.lang.String hostIDPrefix_, java.lang.Object[] existing_, int[][] adjMatrix_, long[] ids_, Link link_, boolean assignAddress_)
          Creates a network topology based on an adjacency matrix.
static void InetUtil.setIDByAddress(Component network_)
           
static void InetUtil.configure(Component network_)
          Configures the "host" routing entries and the interface info at the area boundary routers.
static void InetUtil.configureFlat(Component network_)
          Configures the "host" routing entries and the interface info at the area boundary routers in the flat network.
static void InetUtil.configureFlat(Component network_, boolean reassignNodeID_, boolean setupInterface_)
          Configures the "host" routing entries and the interface info at the area boundary routers in the flat network.
static void InetUtil.setupRoutes(Component src_, Component dest_, long destAddr_, long destAddrMask_)
          Sets up routing table entries between two nodes.
static void InetUtil.setupRoutes(Component src_, java.lang.Object[] dest_, long destAddr_)
          Sets up routing table entries between the source node and multiple destination nodes.
static void InetUtil.setupRoutes(Component src_, java.lang.Object[] dest_, long destAddr_, long destAddrMask_)
          Sets up routing table entries between the source node and multiple destination nodes.
static void InetUtil.setupRoutes(Component src_, java.lang.Object[] dests_, long srcAddr_, long srcAddrMask_, long destAddr_, long destAddrMask_)
          Sets up routing table entries between the source node and multiple destination nodes.
static NamTrace InetUtil.setNamTraceOn(Component net_, java.lang.String filename_, java.lang.String[] colors_)
          Sets up a NamTrace on a network component.
static void InetUtil.setNamTraceOn(Component net_, NamTrace nam_, java.lang.String filename_, java.lang.String[] colors_)
          Sets up a NamTrace on a network component.
static void InetUtil.setNamTraceOn(Component net_, NamTrace nam_)
          Sets up a NamTrace on a network component.
static int InetUtil.getPID(Component c_)
          Returns the protocol ID of the component if the component is a well-defined protocol.
static void InetUtil.connectTCP(Component p1_, Component p2_)
          Connects two TCP components (TCP-TCPSink or TCPb's) with protocol ID automatically assigned.
static boolean InetUtil.connectTCP(Component p1_, Component p2_, int protocolID_)
          Connects two TCP components (TCP-TCPSink or TCPb's) with the specified protocol ID.
static void InetUtil.connect(Component p1_, Component p2_)
          Connects two protocol components.
static boolean InetUtil.connect(Component p1_, Component p2_, int protocolID_)
          Connects two protocol components with the specified protocol ID.
 

Uses of Component in drcl.inet.application
 

Subclasses of Component in drcl.inet.application
 class BulkSink
          A byte stream sink which always has sufficient buffers for incoming data, and it always reports available buffers of dataUnit bytes.
 class BulkSource
          A byte stream source which always sends bytes as long as the receiver has sufficient buffers.
 class BulkSourceSink
          A byte stream source which always sends bytes as long as the receiver has sufficient buffers.
 class FileSource
          A byte stream source which simulates sending a file of limited size.
 class fsp
          A simple FSP (file service protocol) client.
 class fspd
          A simple FSP (File Service Protocol) server.
 class ftp
          This component implements a uni-directional file transfer protocol.
 class ftpd
          A simple FTP server.
 class SApplication
          Single-session (or simplified) application base class.
 class SUDPApplication
          Single-session (or simplified) UDP application base class.
 

Uses of Component in drcl.inet.core
 

Subclasses of Component in drcl.inet.core
 class Hello
          Component that resides in a node and exchanges information with neighboring nodes.
 class Hellov
          Component that resides in a node and exchanges information with neighboring nodes.
 class Identity
          The component that manages the identities of the network node.
 class NI
          Base class for modeling network interface card.
 class PktDispatcher
          Implements the packet dispatcher component in the inet router architecture.
 class PktFilter
           Ports: (otherwise listed in drcl.net.Module) "up"/"down" port group: follows Below Packet Dispatcher Contract.
 class PktFilterSwitch
          The component which routes packet filter configuration request to appropriate packet filters.
 class Queue
           
 class QueueNI
          Base class for implementing a combo component that combines the functioins of both a buffer and a network interface card.
 class RT
          The component that manages the routing table of a network node.