class checkTransaction
The class is used for checking whether transaction ID is acknowledged by Call Agent
Fields
String TransactionId;
Transaction Id waiting acknowledgement
String returnString;
response datagram having transaction Id waiting acknowledgement
boolean received;
whether acknowledgement is received or not? if received, true
Methods
public checkTransaction (String TransactionId, String response, boolean recv)
this constructor initializes:
TransactionId: TransactionId that isn't received acknowledgement from Call Agent,
response: if recv is false, it means TransactionId isn't acknowledged, retThread retransmits response
recv: false initially, if the acknowledgement of TransactionId is received, become true
public String getTransactionId ( )
returns transaction ID waiting the acknowledgement from Call Agent
public String getReturnString ( )
returns a response datagram which is returnString
public boolean getReceived ( )
returns the status information whether the acknowledgement is received from Call Agent