be.ac.ulg.montefiore.run.totem.domain.model.impl
Class SnapshotBandwidthSharingTopologyData
java.lang.Object
be.ac.ulg.montefiore.run.totem.domain.model.impl.SnapshotBandwidthSharingTopologyData
- All Implemented Interfaces:
- BandwidthSharingTopologyData
public class SnapshotBandwidthSharingTopologyData
- extends java.lang.Object
- implements BandwidthSharingTopologyData
Maintain link information about some nodes in the network. Link information are based on another BandwidthSharingTopologyData
.
When a link information is needed, it is either taken from the current state of this object or cloned from the
base BandwidthSharingTopologyData
and added to the current state.
Creation date: 14/12/2007
- Author:
- Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnapshotBandwidthSharingTopologyData
public SnapshotBandwidthSharingTopologyData(BandwidthSharingTopologyData topoData)
getLinkInfo
public BandwidthSharingLinkInfo getLinkInfo(int linkId)
- Return a BandwidthSharingLinkInfo. If the information exists in the current state, it is returned.
If it is not, it is cloned from the underlying BandwidthSharingTopologyData and added to the current state.
- Specified by:
getLinkInfo
in interface BandwidthSharingTopologyData
- Parameters:
linkId
-
- Returns:
getLinkInfo
public BandwidthSharingLinkInfo getLinkInfo(java.lang.String linkId)
- Return a BandwidthSharingLinkInfo. If the information exists in the current state, it is returned.
If it is not, it is cloned from the underlying BandwidthSharingTopologyData and added to the current state.
- Specified by:
getLinkInfo
in interface BandwidthSharingTopologyData
- Parameters:
linkId
-
- Returns:
getConvertor
public DomainConvertor getConvertor()
- Specified by:
getConvertor
in interface BandwidthSharingTopologyData
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.