org.wso2.carbon.databridge.commons.thrift.service.secure
Interface ThriftSecureEventTransmissionService.Iface

All Known Implementing Classes:
ThriftSecureEventTransmissionService.Client
Enclosing class:
ThriftSecureEventTransmissionService

public static interface ThriftSecureEventTransmissionService.Iface


Method Summary
 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(ThriftEventBundle eventBundle)
           
 

Method Detail

connect

String connect(String userName,
               String password)
               throws ThriftAuthenticationException,
                      org.apache.thrift.TException
Throws:
ThriftAuthenticationException
org.apache.thrift.TException

disconnect

void disconnect(String sessionId)
                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

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.