|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object forward.client.ForwardConnectionDescriptor
public class ForwardConnectionDescriptor
This implements the forwarding information structure with supported mixcascades, quality of service parameters and the need for dummy traffic. This structure is just the information for the client. Every value is controlled by the forwarder, so changes don't have an effect to the forwarded connection.
Field Summary | |
---|---|
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 Summary | |
---|---|
ForwardConnectionDescriptor()
This creates a new instance of ForwardConnectionDescriptor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Vector m_supportedMixCascades
private int m_maximumBandwidth
private int m_guaranteedBandwidth
private int m_minDummyTrafficInterval
Constructor Detail |
---|
public ForwardConnectionDescriptor()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |