public class EventSimulatorAdminServiceClient extends Object
| Constructor and Description |
|---|
EventSimulatorAdminServiceClient(String backEndUrl,
String sessionCookie) |
EventSimulatorAdminServiceClient(String backEndUrl,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.axis2.client.ServiceClient |
_getServiceClient() |
boolean |
deleteDBConfigFile(String fileName) |
boolean |
deleteFile(String fileName) |
org.wso2.carbon.event.simulator.stub.types.DataSourceTableAndStreamInfoDto[] |
getAllDataSourceTableAndStreamInfo() |
org.wso2.carbon.event.simulator.stub.types.StreamDefinitionInfoDto[] |
getAllEventStreamInfoDto() |
void |
pauseEventsViaFile(String fileName) |
void |
resumeEventsViaFile(String fileName) |
boolean |
saveDataSourceConfigDetails(String eventStreamDataSourceColumnNamesAndTypeInfo) |
boolean |
sendConfigDetails(String fileName,
String streamId,
String separateChar,
long delayBetweenEventsInMilies) |
boolean |
sendDBConfigFileNameToSimulate(String fileName) |
void |
sendEvent(org.wso2.carbon.event.simulator.stub.types.EventDto eventDto) |
void |
sendEventsViaFile(String fileName) |
String |
testSimulateRDBMSDataSourceConnection(String eventStreamDataSourceColumnNamesAndTypeInfo) |
public EventSimulatorAdminServiceClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic org.apache.axis2.client.ServiceClient _getServiceClient()
public void sendEvent(org.wso2.carbon.event.simulator.stub.types.EventDto eventDto)
throws RemoteException
RemoteExceptionpublic org.wso2.carbon.event.simulator.stub.types.StreamDefinitionInfoDto[] getAllEventStreamInfoDto()
throws RemoteException
RemoteExceptionpublic String testSimulateRDBMSDataSourceConnection(String eventStreamDataSourceColumnNamesAndTypeInfo) throws RemoteException
RemoteExceptionpublic org.wso2.carbon.event.simulator.stub.types.DataSourceTableAndStreamInfoDto[] getAllDataSourceTableAndStreamInfo()
throws RemoteException
RemoteExceptionpublic boolean saveDataSourceConfigDetails(String eventStreamDataSourceColumnNamesAndTypeInfo) throws RemoteException
RemoteExceptionpublic boolean sendDBConfigFileNameToSimulate(String fileName) throws RemoteException
RemoteExceptionpublic boolean deleteDBConfigFile(String fileName) throws RemoteException
RemoteExceptionpublic boolean sendConfigDetails(String fileName, String streamId, String separateChar, long delayBetweenEventsInMilies) throws RemoteException
RemoteExceptionpublic void sendEventsViaFile(String fileName) throws RemoteException
RemoteExceptionpublic void pauseEventsViaFile(String fileName) throws RemoteException
RemoteExceptionpublic void resumeEventsViaFile(String fileName) throws RemoteException
RemoteExceptionpublic boolean deleteFile(String fileName) throws RemoteException
RemoteExceptionCopyright © 2016 WSO2, Inc.. All rights reserved.