gov.nist.antd.rsvp.message
Class LabelSetObject

java.lang.Object
  |
  +--gov.nist.antd.rsvp.message.ClassObject
        |
        +--gov.nist.antd.rsvp.message.LabelSetObject

public class LabelSetObject
extends ClassObject

Represents Label Set Object Class Number TBA : 0bbbbbbb Ctype : 1

 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/16/2002 - 1.0 - Source created
chul - 05/16/2002 - 1.1 - Add comments First Compile chul - 06/06/2002 - 1.2 - Rename print_object() --> toString()

Author:
Chul Kim

Field Summary
private  int action
           
private  int label_type
          Label Type
private  java.util.Vector subChannel
          Subchannel List
 
Fields inherited from class gov.nist.antd.rsvp.message.ClassObject
CLASS_NAME_ADSPEC, CLASS_NAME_ERROR_SPEC, CLASS_NAME_EXPLICIT_ROUTE, CLASS_NAME_FILTER_SPEC, CLASS_NAME_FLOW_DESC, CLASS_NAME_FLOWSPEC, CLASS_NAME_HELLO, CLASS_NAME_LABEL, CLASS_NAME_LABEL_REQUEST, CLASS_NAME_LABEL_SET, CLASS_NAME_NOTIFY_REQ, CLASS_NAME_POLICY_DATA, CLASS_NAME_RESV_CONFIRM, CLASS_NAME_ROUTE_RECORD, CLASS_NAME_RSVP_HOP, CLASS_NAME_SCOPE, CLASS_NAME_SENDER_DESC, CLASS_NAME_SENDER_TEMPLATE, CLASS_NAME_SENDER_TSPEC, CLASS_NAME_SESSION, CLASS_NAME_SESSION_ATTR, CLASS_NAME_STYLE, CLASS_NAME_TIME_VALUE, CLASS_NAME_UPSTREAM_LSP, CLASS_TYPE_EIGHT, CLASS_TYPE_FOUR, CLASS_TYPE_ONE, CLASS_TYPE_SEVEN, CLASS_TYPE_THREE, CLASS_TYPE_TWO
 
Constructor Summary
LabelSetObject(int action, int label_type)
          Constructor
 
Method Summary
 void addSubChannel(int channel)
           
 int getAction()
          Get Action
 int getLabelType()
          Get Label Type
 int getSubChannel(int index)
          Get the index-th subchannel from the list
 int removeSubChannel()
          Remove the first subchnnel in the list
 java.lang.String toString()
          Return object information string
 
Methods inherited from class gov.nist.antd.rsvp.message.ClassObject
getCname, getCtype, getLength, setCname, setCtype, setLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

action

private int action

label_type

private int label_type
Label Type


subChannel

private java.util.Vector subChannel
Subchannel List

Constructor Detail

LabelSetObject

public LabelSetObject(int action,
                      int label_type)
Constructor

Parameters:
action -
label_type -
Method Detail

getSubChannel

public int getSubChannel(int index)
Get the index-th subchannel from the list

Parameters:
index -
Returns:
int

addSubChannel

public void addSubChannel(int channel)
Parameters:
channel -

removeSubChannel

public int removeSubChannel()
Remove the first subchnnel in the list

Returns:
int

getLabelType

public int getLabelType()
Get Label Type

Returns:
int

getAction

public int getAction()
Get Action

Returns:
int

toString

public java.lang.String toString()
Return object information string

Specified by:
toString in class ClassObject
Returns:
String