public static class ThriftEventTransmissionService.Client extends org.apache.thrift.TServiceClient implements ThriftEventTransmissionService.Iface
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftEventTransmissionService.Client.Factory |
| Constructor and Description |
|---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
public String defineStream(String sessionId, String streamDefinition) throws ThriftDifferentStreamDefinitionAlreadyDefinedException, ThriftMalformedStreamDefinitionException, ThriftStreamDefinitionException, ThriftSessionExpiredException, org.apache.thrift.TException
defineStream in interface ThriftEventTransmissionService.IfaceThriftDifferentStreamDefinitionAlreadyDefinedExceptionThriftMalformedStreamDefinitionExceptionThriftStreamDefinitionExceptionThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic void send_defineStream(String sessionId, String streamDefinition) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String recv_defineStream() throws ThriftDifferentStreamDefinitionAlreadyDefinedException, ThriftMalformedStreamDefinitionException, ThriftStreamDefinitionException, ThriftSessionExpiredException, org.apache.thrift.TException
ThriftDifferentStreamDefinitionAlreadyDefinedExceptionThriftMalformedStreamDefinitionExceptionThriftStreamDefinitionExceptionThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic String findStreamId(String sessionId, String streamName, String streamVersion) throws ThriftNoStreamDefinitionExistException, ThriftSessionExpiredException, org.apache.thrift.TException
findStreamId in interface ThriftEventTransmissionService.IfaceThriftNoStreamDefinitionExistExceptionThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic void send_findStreamId(String sessionId, String streamName, String streamVersion) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String recv_findStreamId() throws ThriftNoStreamDefinitionExistException, ThriftSessionExpiredException, org.apache.thrift.TException
ThriftNoStreamDefinitionExistExceptionThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic void publish(ThriftEventBundle eventBundle) throws ThriftUndefinedEventTypeException, ThriftSessionExpiredException, org.apache.thrift.TException
publish in interface ThriftEventTransmissionService.IfaceThriftUndefinedEventTypeExceptionThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic void send_publish(ThriftEventBundle eventBundle) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_publish()
throws ThriftUndefinedEventTypeException,
ThriftSessionExpiredException,
org.apache.thrift.TException
ThriftUndefinedEventTypeExceptionThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic boolean deleteStreamById(String sessionId, String streamId) throws ThriftSessionExpiredException, org.apache.thrift.TException
deleteStreamById in interface ThriftEventTransmissionService.IfaceThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic void send_deleteStreamById(String sessionId, String streamId) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_deleteStreamById()
throws ThriftSessionExpiredException,
org.apache.thrift.TException
ThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic boolean deleteStreamByNameVersion(String sessionId, String streamName, String streamVersion) throws ThriftSessionExpiredException, org.apache.thrift.TException
deleteStreamByNameVersion in interface ThriftEventTransmissionService.IfaceThriftSessionExpiredExceptionorg.apache.thrift.TExceptionpublic void send_deleteStreamByNameVersion(String sessionId, String streamName, String streamVersion) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_deleteStreamByNameVersion()
throws ThriftSessionExpiredException,
org.apache.thrift.TException
ThriftSessionExpiredExceptionorg.apache.thrift.TExceptionCopyright © 2017 WSO2. All rights reserved.