class EmbeddedSensorHandle implements ISensorHandle {

    @Override
    public void shutdown() throws SensorShutdownException {
        try {
            chainStorage.rollback(chainId, chainModificationId);
        } catch (ChainModificationException | ChainNotFoundException e) {
            throw new SensorShutdownException(e);
        }
    }

    public  EmbeddedSensorHandle(final IChainStorage chainStorage, final Object chainId, final Object chainModificationId);

}