public class ForwardConnectionDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
m_guaranteedBandwidth
This stores the bandwidth (in bytes/second) guaranteed by the forwarder.
|
private int |
m_maximumBandwidth
This stores maximum bandwidth (in bytes/second) the forwarder supports.
|
private int |
m_minDummyTrafficInterval
This stores the minimal dummy traffic interval (in ms) for the forwarder.
|
private java.util.Vector |
m_supportedMixCascades
This stores the mixcascades supported by the forwarder.
|
Constructor and Description |
---|
ForwardConnectionDescriptor()
This creates a new instance of ForwardConnectionDescriptor.
|
Modifier and Type | Method and Description |
---|---|
void |
addMixCascade(MixCascade a_mixCascade)
Adds a MixCascade to the list of mixcascades supported by the forwarder.
|
int |
getGuaranteedBandwidth()
Returns the guaranteed bandwidth (sum of upload and download in bytes/second) the forwarder
supplies.
|
int |
getMaximumBandwidth()
Returns the maximum bandwidth (sum of upload and download in bytes/second) the forwarder supports.
|
int |
getMinDummyTrafficInterval()
Returns the dummy traffic interval (in ms) for the forwarder.
|
java.util.Vector |
getMixCascadeList()
Returns a snapshot of all supported mixcascades.
|
void |
setGuaranteedBandwidth(int a_guaranteedBandwidth)
Sets the guaranteed bandwidth (sum of upload and download in bytes/second) the forwarder
supplies.
|
void |
setMaximumBandwidth(int a_maximumBandwidth)
Sets the maximum bandwidth (sum of upload and download in bytes/second) the forwarder supports.
|
void |
setMinDummyTrafficInterval(int a_minDummyTrafficInterval)
Sets the dummy traffic interval (in ms) for the forwarder.
|
private java.util.Vector m_supportedMixCascades
private int m_maximumBandwidth
private int m_guaranteedBandwidth
private int m_minDummyTrafficInterval
public ForwardConnectionDescriptor()
public void addMixCascade(MixCascade a_mixCascade)
a_mixCascade
- The MixCascade to add.public java.util.Vector getMixCascadeList()
public void setMaximumBandwidth(int a_maximumBandwidth)
a_maximumBandwidth
- The maximum bandwidth.public int getMaximumBandwidth()
public void setGuaranteedBandwidth(int a_guaranteedBandwidth)
a_guaranteedBandwidth
- The guaranteed bandwidth.public int getGuaranteedBandwidth()
public void setMinDummyTrafficInterval(int a_minDummyTrafficInterval)
a_minDummyTrafficInterval
- The minimum dummy traffic interval.public int getMinDummyTrafficInterval()
Copyright © 2023. All rights reserved.