|
|||||||||
| 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.TL1ResponseMessage
This class represents the Output Response Message generated and sent from the NE to the TL1 Manager. This is sent in response to the Input Message command sent earlier by the Manager requesting a certain action to be executed at the NE. This Message comprises of a Header, Reponse ID and a Text Block represented by TL1Header, TL1ResponseID and TL1TextBlock respectively.
TL1 Response Message block![]()
TL1Header,
TL1ResponseID,
TL1TextBlock| Field Summary | |
static java.lang.String |
COMPLETED
Constant for Completion code that represents request Completed. |
static java.lang.String |
DELAYED_ACTIVATION
Constant for Completion code that represents delayed activation of request. |
static java.lang.String |
DENIED
Constant for Completion code that represents request denied. |
static java.lang.String |
PARTIAL_SUCCESS
Constant for Completion code that represents request partially completed. |
static java.lang.String |
RETRIEVE
Constant for Completion code when the request message has RTRV as command verb. |
| Constructor Summary | |
TL1ResponseMessage()
Default constructor, initializes message type as type TL1API.RESPONSE_MESSAGE. |
|
| Method Summary | |
byte[] |
encode()
Encodes the message.Not to be invoked by the user.This is used internally by our API. |
TL1Header |
getHeader()
Gets the TL1Header object. |
TL1ResponseID |
getResponseId()
Gets the TL1ResponseID object. |
int |
getSize()
Returns the size of the message. |
char |
getTerminator()
Gets the terminator character . |
TL1TextBlock |
getTextBlock()
Gets the TL1TextBlock object. |
void |
setHeader(TL1Header header)
Sets the TL1Header object with the given object. |
void |
setResponseId(TL1ResponseID responseID)
Sets the TL1ResponseID object with the given object. |
void |
setTerminator(char term)
Sets the terminator character . |
void |
setTextBlock(TL1TextBlock textBlock)
Sets 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 |
|
| Field Detail |
public static java.lang.String COMPLETED
public static java.lang.String DENIED
public static java.lang.String PARTIAL_SUCCESS
public static java.lang.String DELAYED_ACTIVATION
public static java.lang.String RETRIEVE
| Constructor Detail |
public TL1ResponseMessage()
| Method Detail |
public TL1Header getHeader()
TL1Headerpublic void setHeader(TL1Header header)
header - TL1Header.TL1Headerpublic TL1ResponseID getResponseId()
TL1ResponseIDpublic void setResponseId(TL1ResponseID responseID)
responseID - instance of TL1ResponseID.TL1ResponseIDpublic 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||