public interface DataBridgeReceiverService
| Modifier and Type | Method and Description |
|---|---|
String |
defineStream(String sessionId,
String streamDefinition) |
String |
defineStream(String sessionId,
String streamDefinition,
String indexDefinition) |
boolean |
deleteStream(String sessionId,
String streamId) |
boolean |
deleteStream(String sessionId,
String streamName,
String streamVersion) |
String |
findStreamId(String sessionId,
String streamName,
String streamVersion) |
List<org.wso2.carbon.databridge.commons.StreamDefinition> |
getAllStreamDefinitions(String sessionId) |
DataBridgeConfiguration |
getInitialConfig() |
org.wso2.carbon.databridge.commons.StreamDefinition |
getStreamDefinition(String sessionId,
String streamName,
String streamVersion) |
String |
login(String username,
String password) |
void |
logout(String sessionId) |
void |
publish(Object eventBundle,
String sessionId,
EventConverter eventConverter) |
void |
saveStreamDefinition(String sessionId,
org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition) |
void |
subscribe(StreamAddRemoveListener streamAddRemoveListener) |
void |
unsubscribe(StreamAddRemoveListener streamAddRemoveListener) |
String defineStream(String sessionId, String streamDefinition) throws org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException, org.wso2.carbon.databridge.commons.exception.MalformedStreamDefinitionException, org.wso2.carbon.databridge.commons.exception.SessionTimeoutException
org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedExceptionorg.wso2.carbon.databridge.commons.exception.MalformedStreamDefinitionExceptionorg.wso2.carbon.databridge.commons.exception.SessionTimeoutExceptionString defineStream(String sessionId, String streamDefinition, String indexDefinition) throws org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException, org.wso2.carbon.databridge.commons.exception.MalformedStreamDefinitionException, org.wso2.carbon.databridge.commons.exception.SessionTimeoutException
org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedExceptionorg.wso2.carbon.databridge.commons.exception.MalformedStreamDefinitionExceptionorg.wso2.carbon.databridge.commons.exception.SessionTimeoutExceptionString findStreamId(String sessionId, String streamName, String streamVersion) throws org.wso2.carbon.databridge.commons.exception.SessionTimeoutException
org.wso2.carbon.databridge.commons.exception.SessionTimeoutExceptionboolean deleteStream(String sessionId, String streamId) throws org.wso2.carbon.databridge.commons.exception.SessionTimeoutException
org.wso2.carbon.databridge.commons.exception.SessionTimeoutExceptionboolean deleteStream(String sessionId, String streamName, String streamVersion) throws org.wso2.carbon.databridge.commons.exception.SessionTimeoutException
org.wso2.carbon.databridge.commons.exception.SessionTimeoutExceptionvoid publish(Object eventBundle, String sessionId, EventConverter eventConverter) throws org.wso2.carbon.databridge.commons.exception.UndefinedEventTypeException, org.wso2.carbon.databridge.commons.exception.SessionTimeoutException
org.wso2.carbon.databridge.commons.exception.UndefinedEventTypeExceptionorg.wso2.carbon.databridge.commons.exception.SessionTimeoutExceptionorg.wso2.carbon.databridge.commons.StreamDefinition getStreamDefinition(String sessionId, String streamName, String streamVersion) throws org.wso2.carbon.databridge.commons.exception.SessionTimeoutException, StreamDefinitionNotFoundException, StreamDefinitionStoreException
org.wso2.carbon.databridge.commons.exception.SessionTimeoutExceptionStreamDefinitionNotFoundExceptionStreamDefinitionStoreExceptionList<org.wso2.carbon.databridge.commons.StreamDefinition> getAllStreamDefinitions(String sessionId) throws org.wso2.carbon.databridge.commons.exception.SessionTimeoutException
org.wso2.carbon.databridge.commons.exception.SessionTimeoutExceptionvoid saveStreamDefinition(String sessionId, org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition) throws org.wso2.carbon.databridge.commons.exception.SessionTimeoutException, StreamDefinitionStoreException, org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException
org.wso2.carbon.databridge.commons.exception.SessionTimeoutExceptionStreamDefinitionStoreExceptionorg.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedExceptionString login(String username, String password) throws org.wso2.carbon.databridge.commons.exception.AuthenticationException
org.wso2.carbon.databridge.commons.exception.AuthenticationExceptionDataBridgeConfiguration getInitialConfig()
void subscribe(StreamAddRemoveListener streamAddRemoveListener)
void unsubscribe(StreamAddRemoveListener streamAddRemoveListener)
Copyright © 2015 WSO2. All rights reserved.