internal void ClearAll()
{
ClearForReconnect();
lock (contextLock)
{
autoReconnectCookie = null;
clientRandom = null;
serverRandom = null;
lastDisconnectReason = 0;
lastErrorInfo = errorInfo_Values.ERRINFO_NOERROR;
lastStatusInfo = StatusCode_Values.TS_STATUS_NO_STATUS;
pduCountToUpdate = ConstValue.PDU_COUNT_TO_UPDATE_SESSION_KEY;
identity = null;
}
}