| Modifier and Type | Class and Description |
|---|---|
class |
ThriftServer.GenericExtFilter |
| Constructor and Description |
|---|
ThriftServer(String testCaseResourceFolderName,
int listeningPort,
boolean isPreservingEvents) |
| Modifier and Type | Method and Description |
|---|---|
long |
getMsgCount() |
List<org.wso2.carbon.databridge.commons.Event> |
getPreservedEventList() |
String |
getResourceFilePath(String testCaseFolderName,
String resourceFileName) |
List<org.wso2.carbon.databridge.commons.StreamDefinition> |
loadStreamDefinitions() |
void |
resetMsgCount() |
void |
resetPreservedEventList() |
void |
run() |
void |
start(int receiverPort) |
void |
startServer() |
void |
stop() |
void |
waitToReceiveEvents(int maxWaitTime,
int expectedCount) |
public ThriftServer(String testCaseResourceFolderName, int listeningPort, boolean isPreservingEvents)
public void startServer()
throws org.wso2.carbon.databridge.core.exception.DataBridgeException,
org.wso2.carbon.databridge.core.exception.StreamDefinitionStoreException
org.wso2.carbon.databridge.core.exception.DataBridgeExceptionorg.wso2.carbon.databridge.core.exception.StreamDefinitionStoreExceptionpublic void start(int receiverPort)
throws org.wso2.carbon.databridge.core.exception.DataBridgeException,
org.wso2.carbon.databridge.core.exception.StreamDefinitionStoreException
org.wso2.carbon.databridge.core.exception.DataBridgeExceptionorg.wso2.carbon.databridge.core.exception.StreamDefinitionStoreExceptionpublic void stop()
public long getMsgCount()
public List<org.wso2.carbon.databridge.commons.Event> getPreservedEventList()
public void resetMsgCount()
public void resetPreservedEventList()
public List<org.wso2.carbon.databridge.commons.StreamDefinition> loadStreamDefinitions()
public String getResourceFilePath(String testCaseFolderName, String resourceFileName)
public void waitToReceiveEvents(int maxWaitTime,
int expectedCount)
Copyright © 2018 WSO2. All rights reserved.