gov.nist.antd.merlin.generator.traffic
Class TrafficParameter

java.lang.Object
  |
  +--gov.nist.antd.merlin.generator.traffic.TrafficParameter

public class TrafficParameter
extends java.lang.Object

This class represents the parameter that must be created to use the TrafficManager.

 This class was developed at the National Institute of Standards and
 Technology by employees of the Federal Government in the course of
 their official duties. Pursuant to title 17 Section 105 of the United
 States Code this software is not subject to copyright protection and
 is in the public domain.
 NIST assumes no responsibility whatsoever for its use by other parties,
 and makes no guarantees, expressed or implied, about its quality,
 reliability, or any other characteristic.
 
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.

Author:
borchert
, rouil

Field Summary
private  OXCEdgeRouter dest
          The destination of the connection
private  ProtocolMessage message
          The message to send
private  QualityOfService qos
          The quality of service for the connection
 
Constructor Summary
TrafficParameter(QualityOfService qos, OXCEdgeRouter dest, ProtocolMessage message)
          Create the object that contains the parameters for the connection.
 
Method Summary
 OXCEdgeRouter getDestination()
          Get the destination
 ProtocolMessage getMessage()
          Get the message
 QualityOfService getQos()
          Get the quality of servie
 void setDestination(OXCEdgeRouter dest)
          Set the destination
 void setMessage(ProtocolMessage message)
          Set the message to send
 void setQos(QualityOfService qos)
          Set the quality of service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

qos

private QualityOfService qos
The quality of service for the connection


dest

private OXCEdgeRouter dest
The destination of the connection


message

private ProtocolMessage message
The message to send

Constructor Detail

TrafficParameter

public TrafficParameter(QualityOfService qos,
                        OXCEdgeRouter dest,
                        ProtocolMessage message)
Create the object that contains the parameters for the connection.

Parameters:
qos - The quality of service requested for the connection.
dest - The destination of the connection.
message - The message to send.
Method Detail

getQos

public QualityOfService getQos()
Get the quality of servie

Returns:
The quality of servie.

getDestination

public OXCEdgeRouter getDestination()
Get the destination

Returns:
The destination

getMessage

public ProtocolMessage getMessage()
Get the message

Returns:
The message

setQos

public void setQos(QualityOfService qos)
Set the quality of service

Parameters:
qos - The quality of service

setDestination

public void setDestination(OXCEdgeRouter dest)
Set the destination

Parameters:
dest - The destination

setMessage

public void setMessage(ProtocolMessage message)
Set the message to send

Parameters:
message - The message to send