org.wso2.carbon.databridge.commons.thrift.service.general
Class ThriftEventTransmissionService.Client

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

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


Nested Class Summary
static class ThriftEventTransmissionService.Client.Factory
           
 
Field Summary
 
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_
 
Constructor Summary
ThriftEventTransmissionService.Client(org.apache.thrift.protocol.TProtocol prot)
           
ThriftEventTransmissionService.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
           
 
Method Summary
 String defineStream(String sessionId, String streamDefinition)
           
 boolean deleteStreamById(String sessionId, String streamId)
           
 boolean deleteStreamByNameVersion(String sessionId, String streamName, String streamVersion)
           
 String findStreamId(String sessionId, String streamName, String streamVersion)
           
 void publish(ThriftEventBundle eventBundle)
           
 String recv_defineStream()
           
 boolean recv_deleteStreamById()
           
 boolean recv_deleteStreamByNameVersion()
           
 String recv_findStreamId()
           
 void recv_publish()
           
 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_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

ThriftEventTransmissionService.Client

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

ThriftEventTransmissionService.Client

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

defineStream

public String defineStream(String sessionId,
                           String streamDefinition)
                    throws ThriftDifferentStreamDefinitionAlreadyDefinedException,
                           ThriftMalformedStreamDefinitionException,
                           ThriftStreamDefinitionException,
                           ThriftSessionExpiredException,
                           org.apache.thrift.TException
Specified by:
defineStream in interface ThriftEventTransmissionService.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 ThriftEventTransmissionService.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 ThriftEventTransmissionService.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 ThriftEventTransmissionService.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 ThriftEventTransmissionService.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.