rtpi.packets
Class SubcomponentReportInfo

java.lang.Object
  |
  +--rtpi.packets.SubcomponentReportInfo

public class SubcomponentReportInfo
extends java.lang.Object


Constructor Summary
SubcomponentReportInfo(long si, int a, byte[] name)
          This creates a new instance.
 
Method Summary
 int getActive()
          This returns the active bit for this reported subcomponent.
 byte[] getApplicationLevelName()
          This returns the application level name of this reported subcomponent.
 long getSubcomponentID()
          This returns the ID of the subcomponent.
 java.lang.String toString()
          This converts the information about this report into a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubcomponentReportInfo

public SubcomponentReportInfo(long si,
                              int a,
                              byte[] name)
This creates a new instance.
Parameters:
si - The ID of the subcomponent.
a - The active bit (1=active, 0= inactive)
name - The application level name (may be null if application level names are not used)
Method Detail

getSubcomponentID

public long getSubcomponentID()
This returns the ID of the subcomponent.
Returns:
The subcomponent ID

getActive

public int getActive()
This returns the active bit for this reported subcomponent.
Returns:
The active bit.

getApplicationLevelName

public byte[] getApplicationLevelName()
This returns the application level name of this reported subcomponent.
Returns:
The application level name (may be null if application level names are not used).

toString

public java.lang.String toString()
This converts the information about this report into a String.
Returns:
This object as a string.
Overrides:
toString in class java.lang.Object