org.wso2.carbon.databridge.commons.thrift.service.secure
Class ThriftSecureEventTransmissionService.Client

java.lang.Object
  extended by org.apache.thrift.TServiceClient
      extended by org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService.Client
All Implemented Interfaces:
ThriftSecureEventTransmissionService.Iface
Enclosing class:
ThriftSecureEventTransmissionService

public static class ThriftSecureEventTransmissionService.Client
extends org.apache.thrift.TServiceClient
implements ThriftSecureEventTransmissionService.Iface


Nested Class Summary
static class ThriftSecureEventTransmissionService.Client.Factory
           
 
Field Summary
 
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_
 
Constructor Summary
ThriftSecureEventTransmissionService.Client(org.apache.thrift.protocol.TProtocol prot)
           
ThriftSecureEventTransmissionService.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
           
 
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)
           
 String recv_connect()
           
 String recv_defineStream()
           
 boolean recv_deleteStreamById()
           
 boolean recv_deleteStreamByNameVersion()
           
 void recv_disconnect()
           
 String recv_findStreamId()
           
 void recv_publish()
           
 void send_connect(String userName, String password)
           
 void send_defineStream(String sessionId, String streamDefinition)
           
 void send_deleteStreamById(String sessionId, String streamId)
           
 void send_deleteStreamByNameVersion(String sessionId, String streamName, String streamVersion)
           
 void send_disconnect(String sessionId)
           
 void send_findStreamId(String sessionId, String streamName, String streamVersion)
           
 void send_publish(ThriftEventBundle eventBundle)
           
 
Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftSecureEventTransmissionService.Client

public ThriftSecureEventTransmissionService.Client(org.apache.thrift.protocol.TProtocol prot)

ThriftSecureEventTransmissionService.Client

public ThriftSecureEventTransmissionService.Client(org.apache.thrift.protocol.TProtocol iprot,
                                                   org.apache.thrift.protocol.TProtocol oprot)
Method Detail

connect

public String connect(String userName,
                      String password)
               throws ThriftAuthenticationException,
                      org.apache.thrift.TException
Specified by:
connect in interface ThriftSecureEventTransmissionService.Iface
Throws:
ThriftAuthenticationException
org.apache.thrift.TException

send_connect

public void send_connect(String userName,
                         String password)
                  throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_connect

public String recv_connect()
                    throws ThriftAuthenticationException,
                           org.apache.thrift.TException
Throws:
ThriftAuthenticationException
org.apache.thrift.TException

disconnect

public void disconnect(String sessionId)
                throws org.apache.thrift.TException
Specified by:
disconnect in interface ThriftSecureEventTransmissionService.Iface
Throws:
org.apache.thrift.TException

send_disconnect

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

recv_disconnect

public void recv_disconnect()
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

defineStream

public String defineStream(String sessionId,
                           String streamDefinition)
                    throws ThriftDifferentStreamDefinitionAlreadyDefinedException,
                           ThriftMalformedStreamDefinitionException,
                           ThriftStreamDefinitionException,
                           ThriftSessionExpiredException,
                           org.apache.thrift.TException
Specified by:
defineStream in interface ThriftSecureEventTransmissionService.Iface
Throws:
ThriftDifferentStreamDefinitionAlreadyDefinedException
ThriftMalformedStreamDefinitionException
ThriftStreamDefinitionException
ThriftSessionExpiredException
org.apache.thrift.TException

send_defineStream

public void send_defineStream(String sessionId,
                              String streamDefinition)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_defineStream

public String recv_defineStream()
                         throws ThriftDifferentStreamDefinitionAlreadyDefinedException,
                                ThriftMalformedStreamDefinitionException,
                                ThriftStreamDefinitionException,
                                ThriftSessionExpiredException,
                                org.apache.thrift.TException
Throws:
ThriftDifferentStreamDefinitionAlreadyDefinedException
ThriftMalformedStreamDefinitionException
ThriftStreamDefinitionException
ThriftSessionExpiredException
org.apache.thrift.TException

findStreamId

public String findStreamId(String sessionId,
                           String streamName,
                           String streamVersion)
                    throws ThriftNoStreamDefinitionExistException,
                           ThriftSessionExpiredException,
                           org.apache.thrift.TException
Specified by:
findStreamId in interface ThriftSecureEventTransmissionService.Iface
Throws:
ThriftNoStreamDefinitionExistException
ThriftSessionExpiredException
org.apache.thrift.TException

send_findStreamId

public void send_findStreamId(String sessionId,
                              String streamName,
                              String streamVersion)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_findStreamId

public String recv_findStreamId()
                         throws ThriftNoStreamDefinitionExistException,
                                ThriftSessionExpiredException,
                                org.apache.thrift.TException
Throws:
ThriftNoStreamDefinitionExistException
ThriftSessionExpiredException
org.apache.thrift.TException

publish

public void publish(ThriftEventBundle eventBundle)
             throws ThriftUndefinedEventTypeException,
                    ThriftSessionExpiredException,
                    org.apache.thrift.TException
Specified by:
publish in interface ThriftSecureEventTransmissionService.Iface
Throws:
ThriftUndefinedEventTypeException
ThriftSessionExpiredException
org.apache.thrift.TException

send_publish

public void send_publish(ThriftEventBundle eventBundle)
                  throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_publish

public void recv_publish()
                  throws ThriftUndefinedEventTypeException,
                         ThriftSessionExpiredException,
                         org.apache.thrift.TException
Throws:
ThriftUndefinedEventTypeException
ThriftSessionExpiredException
org.apache.thrift.TException

deleteStreamById

public boolean deleteStreamById(String sessionId,
                                String streamId)
                         throws ThriftSessionExpiredException,
                                org.apache.thrift.TException
Specified by:
deleteStreamById in interface ThriftSecureEventTransmissionService.Iface
Throws:
ThriftSessionExpiredException
org.apache.thrift.TException

send_deleteStreamById

public void send_deleteStreamById(String sessionId,
                                  String streamId)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_deleteStreamById

public boolean recv_deleteStreamById()
                              throws ThriftSessionExpiredException,
                                     org.apache.thrift.TException
Throws:
ThriftSessionExpiredException
org.apache.thrift.TException

deleteStreamByNameVersion

public boolean deleteStreamByNameVersion(String sessionId,
                                         String streamName,
                                         String streamVersion)
                                  throws ThriftSessionExpiredException,
                                         org.apache.thrift.TException
Specified by:
deleteStreamByNameVersion in interface ThriftSecureEventTransmissionService.Iface
Throws:
ThriftSessionExpiredException
org.apache.thrift.TException

send_deleteStreamByNameVersion

public void send_deleteStreamByNameVersion(String sessionId,
                                           String streamName,
                                           String streamVersion)
                                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_deleteStreamByNameVersion

public boolean recv_deleteStreamByNameVersion()
                                       throws ThriftSessionExpiredException,
                                              org.apache.thrift.TException
Throws:
ThriftSessionExpiredException
org.apache.thrift.TException


Copyright © 2015 WSO2. All rights reserved.