MATES 3.0-rc2

org.mates.sim.network
Class Topology.TopologyBundle

java.lang.Object
  extended byorg.mates.util.Bundle
      extended byorg.mates.sim.network.Topology.TopologyBundle
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
Topology

protected class Topology.TopologyBundle
extends Bundle

Specialized threading bundle for parallelized updating of the topology.

Author:
Evan Sultanik

Nested Class Summary
 
Nested classes inherited from class org.mates.util.Bundle
Bundle.BundleIterator
 
Constructor Summary
Topology.TopologyBundle(java.util.Vector hosts, LinkModel link_model)
          Default constructor.
 
Method Summary
 java.lang.Object clone()
          This implementation of clone() only copies the internal pointers to the vector of hosts and the link model.
 java.util.Vector getHosts()
          Returns a vector of hosts to update
 LinkModel getLinkModel()
          Returns the link model with which to update
 
Methods inherited from class org.mates.util.Bundle
elements, getDataOffset, getDataRange, getNext, getPayload, insertAfter, setDataOffset, setDataRange, setPayload
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Topology.TopologyBundle

public Topology.TopologyBundle(java.util.Vector hosts,
                               LinkModel link_model)
Default constructor.

Method Detail

clone

public java.lang.Object clone()
This implementation of clone() only copies the internal pointers to the vector of hosts and the link model. The pointers are just copied; the internal objects are not cloned. Also, no information inherited from Bundle is cloned.

Overrides:
clone in class Bundle

getHosts

public java.util.Vector getHosts()
Returns a vector of hosts to update


getLinkModel

public LinkModel getLinkModel()
Returns the link model with which to update


MATES 3.0-rc2

Submit a bug or request a feature
http://mates.sourceforge.net/

Copyright 2004 Evan Sultanik