protected void release ( ) { stack . getLocalTransactions ( ) . remove ( Integer . valueOf ( localTID ) ) ; stack . getRemoteTxToLocalTxMap ( ) . remove ( Integer . valueOf ( remoteTID ) ) ; cancelTHISTTimerTask ( ) ; cancelLongtranTimer ( ) ; cancelReTransmissionTimer ( ) ; if ( originalPacket != null ) stack . releasePacket ( originalPacket ) ; originalPacket = null ; }
Release this transaction and frees all allocated resources .