org.mates.sim.network
Class Topology.TopologyBundle
java.lang.Object
org.mates.util.Bundle
org.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
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 java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Topology.TopologyBundle
public Topology.TopologyBundle(java.util.Vector hosts,
LinkModel link_model)
- Default constructor.
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
Submit a bug or request a feature
http://mates.sourceforge.net/
Copyright 2004 Evan Sultanik