public class AnalyticsWSO2EventConsumer extends Object implements org.wso2.carbon.event.stream.manager.core.WSO2EventListConsumer
| Constructor and Description |
|---|
AnalyticsWSO2EventConsumer(String streamId,
int tenantId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getStreamId() |
void |
onAddDefinition(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition) |
void |
onEvent(org.wso2.carbon.databridge.commons.Event event) |
void |
onEventList(List<org.wso2.carbon.databridge.commons.Event> eventList) |
void |
onRemoveDefinition(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition) |
public AnalyticsWSO2EventConsumer(String streamId, int tenantId)
public String getStreamId()
getStreamId in interface org.wso2.carbon.event.stream.manager.core.WSO2EventConsumerpublic void onEvent(org.wso2.carbon.databridge.commons.Event event)
onEvent in interface org.wso2.carbon.event.stream.manager.core.WSO2EventConsumerpublic void onEventList(List<org.wso2.carbon.databridge.commons.Event> eventList)
onEventList in interface org.wso2.carbon.event.stream.manager.core.WSO2EventListConsumerpublic void onAddDefinition(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition)
onAddDefinition in interface org.wso2.carbon.event.stream.manager.core.WSO2EventConsumerpublic void onRemoveDefinition(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition)
onRemoveDefinition in interface org.wso2.carbon.event.stream.manager.core.WSO2EventConsumerCopyright © 2015 WSO2. All rights reserved.