edu.colorado.cs.ns2.sim
Class ExtendedLinkProperties

java.lang.Object
  extended by edu.colorado.cs.ns2.sim.ExtendedLinkProperties
All Implemented Interfaces:
java.io.Serializable

public class ExtendedLinkProperties
extends java.lang.Object
implements java.io.Serializable

This class encapsulates the link's extended properties.

Author:
Kevin Bauer, Pushkar Sambhoos.
See Also:
Serialized Form

Field Summary
private  int queueBufferSize
          Stores the queue's buffer size.
private static long serialVersionUID
          Generated serial version UID.
 
Constructor Summary
ExtendedLinkProperties()
          Set default extended link properties
ExtendedLinkProperties(int qSize)
          One-argument constructor.
 
Method Summary
 int getQueueBufferSize()
          Returns the queue's buffer size.
 void setQueueBufferSize(int queueBufferSize)
          Sets the queue's buffer size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Generated serial version UID.

See Also:
Constant Field Values

queueBufferSize

private int queueBufferSize
Stores the queue's buffer size.

Constructor Detail

ExtendedLinkProperties

public ExtendedLinkProperties()
Set default extended link properties


ExtendedLinkProperties

public ExtendedLinkProperties(int qSize)
One-argument constructor.

Parameters:
qSize - A new queue buffer size.
Method Detail

getQueueBufferSize

public int getQueueBufferSize()
Returns the queue's buffer size.

Returns:
The queue's buffer sizes.

setQueueBufferSize

public void setQueueBufferSize(int queueBufferSize)
Sets the queue's buffer size.

Parameters:
queueBufferSize - A new buffer size.