org.wso2.carbon.databridge.commons.thrift.service.general
Interface ThriftEventTransmissionService.Iface
- All Known Implementing Classes:
- ThriftEventTransmissionService.Client
- Enclosing class:
- ThriftEventTransmissionService
public static interface ThriftEventTransmissionService.Iface
defineStream
String defineStream(String sessionId,
String streamDefinition)
throws ThriftDifferentStreamDefinitionAlreadyDefinedException,
ThriftMalformedStreamDefinitionException,
ThriftStreamDefinitionException,
ThriftSessionExpiredException,
org.apache.thrift.TException
- Throws:
ThriftDifferentStreamDefinitionAlreadyDefinedException
ThriftMalformedStreamDefinitionException
ThriftStreamDefinitionException
ThriftSessionExpiredException
org.apache.thrift.TException
findStreamId
String findStreamId(String sessionId,
String streamName,
String streamVersion)
throws ThriftNoStreamDefinitionExistException,
ThriftSessionExpiredException,
org.apache.thrift.TException
- Throws:
ThriftNoStreamDefinitionExistException
ThriftSessionExpiredException
org.apache.thrift.TException
publish
void publish(ThriftEventBundle eventBundle)
throws ThriftUndefinedEventTypeException,
ThriftSessionExpiredException,
org.apache.thrift.TException
- Throws:
ThriftUndefinedEventTypeException
ThriftSessionExpiredException
org.apache.thrift.TException
deleteStreamById
boolean deleteStreamById(String sessionId,
String streamId)
throws ThriftSessionExpiredException,
org.apache.thrift.TException
- Throws:
ThriftSessionExpiredException
org.apache.thrift.TException
deleteStreamByNameVersion
boolean deleteStreamByNameVersion(String sessionId,
String streamName,
String streamVersion)
throws ThriftSessionExpiredException,
org.apache.thrift.TException
- Throws:
ThriftSessionExpiredException
org.apache.thrift.TException
Copyright © 2015 WSO2. All rights reserved.