public void send(Object[] data) throws InterruptedException {
        if (inputProcessor != null) {
            inputProcessor.send(System.currentTimeMillis(), data, streamIndex);
        } else {
            throw new InterruptedException("Siddhi app '" + this.siddhiAppContext.getName() + "' is not " +
                    "running, cannot send event.");
        }
    }
InputHandler is the {@link Event} entry point to Siddhi. Users can create an Input Handler and then use that to
directly inject events inside Siddhi.
modules/siddhi-core/src/main/java/io/siddhi/core/stream/input/InputHandler.java