public void stop ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "stop" ) ; synchronized ( this ) { active = false ; // stop the liveness timer for sending ControlRequestHighestGeneratedTick, if needed //NOTE: the requestHighestGeneratedTickTimer will stop of its own accord once the //stream is noticed to be if ( initRepeatHandler != null ) { initRepeatHandler . cancel ( ) ; } if ( inactivityTimer != null ) { inactivityTimer . cancel ( ) ; inactivityTimer = null ; } if ( resetRequestAckSender != null ) { resetRequestAckSender . stop ( ) ; } // stop all the liveness timers for value ticks dem . stopTimer ( ) ; if ( imeRestorationHandler != null ) imeRestorationHandler . stopTimer ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "stop" ) ; }
Stop the stream i . e . stop sending data and control messages