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