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 |
recvDefineStream() |
boolean |
recvDeleteStreamById() |
boolean |
recvDeleteStreamByNameVersion() |
String |
recvFindStreamId() |
void |
recvPublish() |
void |
sendDefineStream(String sessionId,
String streamDefinition) |
void |
sendDeleteStreamById(String sessionId,
String streamId) |
void |
sendDeleteStreamByNameVersion(String sessionId,
String streamName,
String streamVersion) |
void |
sendFindStreamId(String sessionId,
String streamName,
String streamVersion) |
void |
sendPublish(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 sendDefineStream(String sessionId, String streamDefinition) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String recvDefineStream() 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 sendFindStreamId(String sessionId, String streamName, String streamVersion) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String recvFindStreamId() 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 sendPublish(ThriftEventBundle eventBundle) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recvPublish()
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 sendDeleteStreamById(String sessionId, String streamId) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recvDeleteStreamById()
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 sendDeleteStreamByNameVersion(String sessionId, String streamName, String streamVersion) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recvDeleteStreamByNameVersion()
throws ThriftSessionExpiredException,
org.apache.thrift.TException
ThriftSessionExpiredExceptionorg.apache.thrift.TExceptionCopyright © 2026 WSO2. All rights reserved.