All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fluxtion.server.dispatch.EventToInvokeStrategy Maven / Gradle / Ivy

Go to download

A runtime server to load and run Fluxtion event processors, connecting event streams to and from processors

There is a newer version: 0.1.55
Show newest version
/*
 * SPDX-FileCopyrightText: © 2024 Gregory Higgins 
 * SPDX-License-Identifier: AGPL-3.0-only
 *
 */

package com.fluxtion.server.dispatch;

import com.fluxtion.runtime.StaticEventProcessor;
import com.fluxtion.runtime.annotations.feature.Experimental;

/**
 * Reads and transforms event flow into application level callbacks on registered {@link StaticEventProcessor}'s
 */
@Experimental
public interface EventToInvokeStrategy {

    void processEvent(Object event);

    void processEvent(Object event, long time);

    void registerProcessor(StaticEventProcessor eventProcessor);

    void deregisterProcessor(StaticEventProcessor eventProcessor);

    int listenerCount();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy