public class ThriftSecureEventTransmissionServiceImpl extends Object implements org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Iface
| Constructor and Description |
|---|
ThriftSecureEventTransmissionServiceImpl(org.wso2.carbon.databridge.core.DataBridgeReceiverService dataBridgeReceiverService) |
| Modifier and Type | Method and Description |
|---|---|
String |
connect(String username,
String password) |
String |
defineStream(String sessionId,
String streamDefinition) |
boolean |
deleteStreamById(String sessionId,
String streamId) |
boolean |
deleteStreamByNameVersion(String sessionId,
String streamName,
String streamVersion) |
void |
disconnect(String sessionId) |
String |
findStreamId(String sessionId,
String streamName,
String streamVersion) |
void |
publish(org.wso2.carbon.databridge.commons.thrift.data.ThriftEventBundle eventBundle) |
public ThriftSecureEventTransmissionServiceImpl(org.wso2.carbon.databridge.core.DataBridgeReceiverService dataBridgeReceiverService)
public String connect(String username, String password) throws org.wso2.carbon.databridge.commons.thrift.exception.ThriftAuthenticationException
connect in interface org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Ifaceorg.wso2.carbon.databridge.commons.thrift.exception.ThriftAuthenticationExceptionpublic void disconnect(String sessionId) throws org.apache.thrift.TException
disconnect in interface org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Ifaceorg.apache.thrift.TExceptionpublic String defineStream(String sessionId, String streamDefinition) throws org.apache.thrift.TException, org.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredException, org.wso2.carbon.databridge.commons.thrift.exception.ThriftDifferentStreamDefinitionAlreadyDefinedException, org.wso2.carbon.databridge.commons.thrift.exception.ThriftMalformedStreamDefinitionException
defineStream in interface org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Ifaceorg.apache.thrift.TExceptionorg.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredExceptionorg.wso2.carbon.databridge.commons.thrift.exception.ThriftDifferentStreamDefinitionAlreadyDefinedExceptionorg.wso2.carbon.databridge.commons.thrift.exception.ThriftMalformedStreamDefinitionExceptionpublic String findStreamId(String sessionId, String streamName, String streamVersion) throws org.wso2.carbon.databridge.commons.thrift.exception.ThriftNoStreamDefinitionExistException, org.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredException, org.apache.thrift.TException
findStreamId in interface org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Ifaceorg.wso2.carbon.databridge.commons.thrift.exception.ThriftNoStreamDefinitionExistExceptionorg.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic boolean deleteStreamById(String sessionId, String streamId) throws org.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredException, org.apache.thrift.TException
deleteStreamById in interface org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Ifaceorg.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic boolean deleteStreamByNameVersion(String sessionId, String streamName, String streamVersion) throws org.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredException, org.apache.thrift.TException
deleteStreamByNameVersion in interface org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Ifaceorg.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic void publish(org.wso2.carbon.databridge.commons.thrift.data.ThriftEventBundle eventBundle)
throws org.wso2.carbon.databridge.commons.thrift.exception.ThriftUndefinedEventTypeException,
org.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredException,
org.apache.thrift.TException
publish in interface org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Ifaceorg.wso2.carbon.databridge.commons.thrift.exception.ThriftUndefinedEventTypeExceptionorg.wso2.carbon.databridge.commons.thrift.exception.ThriftSessionExpiredExceptionorg.apache.thrift.TExceptionCopyright © 2017 WSO2. All rights reserved.