this.cancelSessionTimeout(true);
this.requester.getSCMPMsgSequenceNr().incrementAndGetMsgSequenceNr();
try {
// 2. initialize call & invoke
SCServiceCallback callback = new SCServiceCallback(true);
SCMPClnDeleteSessionCall deleteSessionCall = new SCMPClnDeleteSessionCall(this.requester, this.serviceName,
this.sessionId);
if (scMessage != null) {
// message might be null for deleteSession operation
deleteSessionCall.setSessionInfo(scMessage.getSessionInfo());
}
try {
deleteSessionCall.invoke(callback, operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);
} catch (Exception e) {
throw new SCServiceException("Delete session failed ", e);
}
// 3. receiving reply and error handling
SCMPMessage reply = callback.getMessageSync(operationTimeoutSeconds * Constants.SEC_TO_MILLISEC_FACTOR);