@ Override public void sessionClosed ( IoSession session ) throws Exception { log . debug ( "Session closed for sensor {}." , session ) ; if ( this . sensorIoAdapter != null ) { this . sensorIoAdapter . sensorDisconnected ( session ) ; } }
Notifies the IOAdapter that the session has closed .