|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.adventnet.tl1.message.TL1Message
|
+--com.adventnet.tl1.message.TL1AckMessage
This object represents a TL1 Acknowledgement Message type which is a brief Output Message generated in reponse to an Input Message. Usually, if the TL1 NE (Network Element) is unable to send the response message to the Manager within two seconds, then it sends the Acknowledgement Message. This message contains an Acknowledgement code that identifies the reason for sending the Acknowledgement Message.
TL1 Acknowledgement Message block![]()
The Acknowledgement Message can have one of the following Acknowledgement Codes:
IN_PROGRESS,
PRINTOUT_FOLLOWS,
ALL_RIGHT,
NO_ACKNOWLEDGEMENT,
NO_GOOD,
REPEAT_LATER| Field Summary | |
static java.lang.String |
ALL_RIGHT
Constant for Ack code that represents request All Right. |
static java.lang.String |
IN_PROGRESS
Constant for Ack code that represents request In Progress. |
static java.lang.String |
NO_ACKNOWLEDGEMENT
Constant for Ack code that represents No Acknowledgement. |
static java.lang.String |
NO_GOOD
Constant for Ack code that represents No Good. |
static java.lang.String |
PRINTOUT_FOLLOWS
Constant for Ack code that represents Printout Follows. |
static java.lang.String |
REPEAT_LATER
Constant for Ack code that represents Repeat Later. |
| Constructor Summary | |
TL1AckMessage()
The Default Constructor which creates an instance of the TL1AckMessage. |
|
TL1AckMessage(java.lang.String ackCode,
java.lang.String correlationTag)
The constructor which creates an instance of the TL1AckMessage with the Acknowledgement Code and Correlation Tag intialized to the specified values. |
|
| Method Summary | |
byte[] |
encode()
Encodes the TL1AckMessage. |
java.lang.String |
getAckCode()
Get the Acknowledgement Code set on this message. |
java.lang.String |
getCorrelationTag()
Get the Correlation Tag. |
int |
getSize()
Returns the length of the message. |
void |
setAckCode(java.lang.String ackCode)
Set the Acknowledgement Code of the message with the specified value. |
void |
setCorrelationTag(java.lang.String correlationTag)
Set the Correlation Tag of the message with the specified value. |
| Methods inherited from class com.adventnet.tl1.message.TL1Message |
getType,
isSetSplCharParsing,
setSplCharParsing,
setType,
toString |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static java.lang.String IN_PROGRESS
public static java.lang.String PRINTOUT_FOLLOWS
public static java.lang.String ALL_RIGHT
public static java.lang.String NO_ACKNOWLEDGEMENT
public static java.lang.String NO_GOOD
public static java.lang.String REPEAT_LATER
| Constructor Detail |
public TL1AckMessage()
public TL1AckMessage(java.lang.String ackCode,
java.lang.String correlationTag)
ackCode - String representing Acknowledgement Code.correlationTag - String representing Correlation Tag.| Method Detail |
public void setCorrelationTag(java.lang.String correlationTag)
correlationTag - String representing ctag value.public java.lang.String getCorrelationTag()
public java.lang.String getAckCode()
public void setAckCode(java.lang.String ackCode)
ackCode - String.public int getSize()
public byte[] encode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||