|
WebNMS TL1 API Release 4 Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.tl1.message.TL1ResponseID
This class represents the Reponse Identifier block of the TL1 Response Message. This block consists of three components, namely the Character M, a correlationtag and a completion code.
TL1 Response Message block![]()
Components of the TL1ResponseID![]()
The character M signifies the message is a response to an input message.
The correlation tag is used to correlate the input message with this output message. The completion code represents the status of the response message.
The possible values of completion code are,
COMPLD - Represents total successful execution of the input command. DENY - Represents total denial of the input command. PRTL - Represents partial successful execution of the input command. DELAY - Represents successful queuing of the input command for delayed activation. RTRV - Represents output response of an input retrieve command.For example, the ResponseId
M 123 COMPLDis created as follows,
TL1ResponseID responseid = new TL1ResponseID():
responseid.setCorrelationTag("123");
responseid.setCompletionCode("TL1ResponseMessage.COMPLETED");
TL1ResponseMessage.COMPLETED,
TL1ResponseMessage.DENIED,
TL1ResponseMessage.PARTIAL_SUCCESS,
TL1ResponseMessage.DELAYED_ACTIVATION,
TL1ResponseMessage.RETRIEVE,
TL1ResponseMessage, Serialized Form| Constructor Summary | |
TL1ResponseID()
Default constructor that creates an instance of the TL1ResponseID object. |
|
TL1ResponseID(java.lang.String correlationTag,
java.lang.String completionCode)
Constructor which creates an instance of TL1ResponseID object and initializes the correlation tag and completion code fields in this block with the given values. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
java.lang.String |
getCompletionCode()
Gets the completion code of the response message. |
java.lang.String |
getCorrelationTag()
Gets the Correlation Tag (CTag) which is used to correlate the input message with this ouput message. |
void |
setCompletionCode(java.lang.String completionCode)
Sets the completion code with the given value. |
void |
setCorrelationTag(java.lang.String correlationTag)
Sets the Correlation Tag (CTag), used to correlate the input message with this ouput message. |
java.lang.String |
toString()
Returns the String form of this object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TL1ResponseID()
public TL1ResponseID(java.lang.String correlationTag,
java.lang.String completionCode)
correlationTag - String representing the CTag value.completionCode - String representing the command completion code.| Method Detail |
public java.lang.String getCorrelationTag()
public void setCorrelationTag(java.lang.String correlationTag)
correlationTag - String value of the CTag to set.public java.lang.String getCompletionCode()
TL1ResponseMessage.COMPLETED,
TL1ResponseMessage.DENIED,
TL1ResponseMessage.PARTIAL_SUCCESS,
TL1ResponseMessage.DELAYED_ACTIVATION,
TL1ResponseMessage.RETRIEVEpublic void setCompletionCode(java.lang.String completionCode)
completionCode - String representing the completion code.
TL1ResponseMessage.COMPLETED,
TL1ResponseMessage.DENIED,
TL1ResponseMessage.PARTIAL_SUCCESS,
TL1ResponseMessage.DELAYED_ACTIVATION,
TL1ResponseMessage.RETRIEVEpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
|
WebNMS TL1 API Release 4 Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||