public interface AgentCallback
| Modifier and Type | Method and Description |
|---|---|
void |
definedStream(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition,
int tenantId)
will get called when types are defined
|
void |
receive(List<org.wso2.carbon.databridge.commons.Event> eventList,
org.wso2.carbon.databridge.commons.Credentials credentials)
will get called when Events arrive
|
void |
removeStream(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition,
int tenantId)
will get called when types are removed
|
void definedStream(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition,
int tenantId)
streamDefinition - TypeDefinition of event streamstenantId - of the credential defining the event stream definitionvoid removeStream(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition,
int tenantId)
streamDefinition - TypeDefinition of event streamstenantId - of the credential defining the event stream definitionvoid receive(List<org.wso2.carbon.databridge.commons.Event> eventList, org.wso2.carbon.databridge.commons.Credentials credentials)
eventList - Arrived event listCopyright © 2015 WSO2. All rights reserved.