gov.nist.antd.rsvp.mgmt
Class PathStateBlock

java.lang.Object
  |
  +--gov.nist.antd.rsvp.mgmt.PathStateBlock

public class PathStateBlock
extends java.lang.Object

PSB holds path state for a particular (session, sender) pair, defined by SESSION nad SENDER_TEMPLATE object, respectively, receivd in a PATH messages

 This interface 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.

Version:
1.0

 VERSION CONTROL
-------------------------------------------------------------------------
Name - YYYY/MM/DD - VERSION - ACTION
chul - 04/29/2002 - 1.0 - Source created
chul - 05/20/2002 - 1.1 - Add comments chul - 06/10/2002 - - Add toString() chul - 08/14/2002 - 1.2 - updates simulation Parameters chul - 08/21/2002 - - add LSRType.

Author:
Chul Kim

Field Summary
 BackupLSPInfo backupLspInfo
           
private  boolean e_police_flag
           
 ERRRObject er_obj
          Explicit Route Object
 FECInformation fecInfo
           
private  int inInterface
          Interface on which Path Message is expected.
 LabelRequestObject label_req_obj
          Label Request Object
private  double local_life_time
          Local state's life time L L >= (K+0.5)*1.5*R(default K = 3)
private  boolean local_only_flag
           
 int lsrType
           
 int nextNodeInIntfID
           
private  boolean non_rsvp_flag
           
private  int notify_node_addr
           
 boolean opticalLSPflag
           
private  java.util.Vector outInterface_list
          This is the list of outgoing interfaces for this (Sender, destination), and IncInterface which is the expected incoming Interface.
 int outIntfID
           
 HopObject pre_hop_obj
          Previous Hop Infor
 ERRRObject rr_obj
          Roue Record Object
 SessionAttrObject session_attr_obj
          Session attribute Object
 SessionObject session_obj
          Session Object
 double setupDelay
           
 SenderDescriptor snd_desc_obj
          Sender Descriptor : Sender Object, TSpec_Object, Label_Object, ERRRObject
private  int ttl
          The remaining IP TTL
 
Constructor Summary
PathStateBlock()
          Constructor
 
Method Summary
 void addOutIntf(int outInterface)
          Add Outinterface
 boolean getEPoliceFlag()
          Return E_Police Flag
 int getInIntf()
          Returns the InInterface
 double getLocalExpTime()
           
 boolean getLocalOnlyFlag()
          Get Local_Only Flag
 boolean getNonRSVPflag()
          Returns the Non_RSVP_Flag
 int getOutIntf(int index)
          Return index-th OutInterface from the list
 int getTTLValue()
          Get TTL value
 void setEPoliceFlag(boolean epolice_flag)
          Set E_Police Flag
 void setInIntf(int inInterface)
          Set Input Interface
 void setLocalExpTime(double l)
          Set Local Expiration Time
 void setLocalOnlyFlag(boolean local_only_value)
          Set Local_Only flag
 void setNonRSVPFlag(boolean rsvp_flag)
          Set Non_RSVP_Flag
 void setTTLValue(int ttl_value)
          Set TTL Value
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ttl

private int ttl
The remaining IP TTL


non_rsvp_flag

private boolean non_rsvp_flag

e_police_flag

private boolean e_police_flag

local_only_flag

private boolean local_only_flag

outInterface_list

private java.util.Vector outInterface_list
This is the list of outgoing interfaces for this (Sender, destination), and IncInterface which is the expected incoming Interface. For a unicast destination, OutInterface_list contains one entry and IncInterface is undefined


inInterface

private int inInterface
Interface on which Path Message is expected.


notify_node_addr

private int notify_node_addr

local_life_time

private double local_life_time
Local state's life time L L >= (K+0.5)*1.5*R(default K = 3)


pre_hop_obj

public HopObject pre_hop_obj
Previous Hop Infor


snd_desc_obj

public SenderDescriptor snd_desc_obj
Sender Descriptor : Sender Object, TSpec_Object, Label_Object, ERRRObject


er_obj

public ERRRObject er_obj
Explicit Route Object


session_attr_obj

public SessionAttrObject session_attr_obj
Session attribute Object


rr_obj

public ERRRObject rr_obj
Roue Record Object


label_req_obj

public LabelRequestObject label_req_obj
Label Request Object


session_obj

public SessionObject session_obj
Session Object


backupLspInfo

public BackupLSPInfo backupLspInfo

fecInfo

public FECInformation fecInfo

setupDelay

public double setupDelay

lsrType

public int lsrType

opticalLSPflag

public boolean opticalLSPflag

outIntfID

public int outIntfID

nextNodeInIntfID

public int nextNodeInIntfID
Constructor Detail

PathStateBlock

public PathStateBlock()
Constructor

Method Detail

setTTLValue

public void setTTLValue(int ttl_value)
Set TTL Value

Parameters:
ttl_value -

getTTLValue

public int getTTLValue()
Get TTL value

Returns:
int

setNonRSVPFlag

public void setNonRSVPFlag(boolean rsvp_flag)
Set Non_RSVP_Flag

Parameters:
rsvp_flag - - True if this node non-RSVP-enable node

getNonRSVPflag

public boolean getNonRSVPflag()
Returns the Non_RSVP_Flag

Returns:
boolean - True if this node non-RSVP-enable node

setEPoliceFlag

public void setEPoliceFlag(boolean epolice_flag)
Set E_Police Flag

Parameters:
epolice_flag -

getEPoliceFlag

public boolean getEPoliceFlag()
Return E_Police Flag

Returns:
boolean

setLocalOnlyFlag

public void setLocalOnlyFlag(boolean local_only_value)
Set Local_Only flag

Parameters:
local_only_value -

getLocalOnlyFlag

public boolean getLocalOnlyFlag()
Get Local_Only Flag

Returns:
boolean

addOutIntf

public void addOutIntf(int outInterface)
Add Outinterface

Parameters:
outInterface -

getOutIntf

public int getOutIntf(int index)
Return index-th OutInterface from the list

Parameters:
index -
Returns:
int - OutInterface

setInIntf

public void setInIntf(int inInterface)
Set Input Interface

Parameters:
inInterface -

getInIntf

public int getInIntf()
Returns the InInterface

Returns:
int - InInterface

setLocalExpTime

public void setLocalExpTime(double l)
Set Local Expiration Time

Parameters:
l -

getLocalExpTime

public double getLocalExpTime()
Returns:
double

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object