|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.tl1.message.TL1Message
com.adventnet.tl1.message.TL1AutonomousMessage
public class TL1AutonomousMessage
This object represents a TL1 Autonomous Message that is generated and sent from the NE. This message can be used by the NE to report alarm conditions, results of diagnostic and performance tests or to indicate change in the status of any NE parameter.
TL1 Autonomous Message block![]()
The Autonomous Message contains an Autonomous ID field that identifies the the severity and nature of the autonomous message. It contains alarm code for severity.
TL1Header,
TL1AutoID,
TL1TextBlock| Field Summary | |
|---|---|
static java.lang.String |
CRITICAL_ALARM
Constant for Alarm code that represents Critical alarm. |
static java.lang.String |
MAJOR_ALARM
Constant for Alarm code that represents Major alarm. |
static java.lang.String |
MINOR_ALARM
Constant for Alarm code that represents Minor alarm. |
static java.lang.String |
NO_ALARM
Constant for Alarm code that represents No alarm. |
static java.lang.String |
NON_ALARM
Constant for Alarm code that represents No alarm. |
| Constructor Summary | |
|---|---|
TL1AutonomousMessage()
Default Constructor that creates an instance of the TL1Autonomous object. |
|
| Method Summary | |
|---|---|
byte[] |
encode()
Encodes the message. |
TL1AutoID |
getAutoId()
Get the TL1AutoID object of the message which indicates the severity and nature of the Autonomous Message. |
TL1Header |
getHeader()
Get the TL1Header object contained within this Autonomous Message. |
int |
getSize()
Return the size of the message. |
char |
getTerminator()
Get the terminator character . |
TL1TextBlock |
getTextBlock()
Get the TL1TextBlock object of the given message. |
void |
setAutoId(TL1AutoID autoID)
Set the specified TL1AutoID on this Autonomous Message. |
void |
setHeader(TL1Header header)
Set the TL1Header object with the given object. |
void |
setTerminator(char term)
Set the terminator character. |
void |
setTextBlock(TL1TextBlock textBlock)
Set the TL1TextBlock object with the given object. |
| Methods inherited from class com.adventnet.tl1.message.TL1Message |
|---|
getType, isSetSplCharParsing, setSplCharParsing, setType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CRITICAL_ALARM
public static java.lang.String MAJOR_ALARM
public static java.lang.String MINOR_ALARM
public static java.lang.String NON_ALARM
public static java.lang.String NO_ALARM
| Constructor Detail |
|---|
public TL1AutonomousMessage()
| Method Detail |
|---|
public TL1Header getHeader()
TL1Headerpublic void setHeader(TL1Header header)
header - TL1Header object.TL1Headerpublic TL1AutoID getAutoId()
TL1AutoIDpublic void setAutoId(TL1AutoID autoID)
autoID - instance of TL1 Autonomous ID.TL1AutoIDpublic TL1TextBlock getTextBlock()
TL1TextBlockpublic void setTextBlock(TL1TextBlock textBlock)
textBlock - instance of TL1TextBlock.TL1TextBlockpublic void setTerminator(char term)
term - character (';' or '>')public char getTerminator()
public int getSize()
public byte[] encode()
encode in class TL1Message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||