
com.fluxtion.server.dispatch.EventToInvokeStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of server Show documentation
Show all versions of server Show documentation
A runtime server to load and run Fluxtion event processors, connecting event streams to and from processors
/*
* 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