com.symphony.bdk.bot.sdk.event.BaseEventHandler Maven / Gradle / Ivy
package com.symphony.bdk.bot.sdk.event;
import com.symphony.bdk.bot.sdk.event.model.BaseEvent;
/**
* Base interface for all EventHandlers
*
* @author Marcus Secato
*
* @param - class of the event to handle
*/
public interface BaseEventHandler {
/**
* Callback for when the event is received
*
* @param event the event triggered in Symphony
*/
void onEvent(E event);
}