Package com.securenative
Class SecureNativeEventManager
- java.lang.Object
-
- com.securenative.SecureNativeEventManager
-
- All Implemented Interfaces:
EventManager
public class SecureNativeEventManager extends java.lang.Object implements EventManager
-
-
Constructor Summary
Constructors Constructor Description SecureNativeEventManager(HttpClient httpClient, SecureNativeOptions options)
-
Method Summary
Modifier and Type Method Description voidsendAsync(Event event, java.lang.String url, java.lang.Boolean retry)<T> TsendSync(java.lang.Class<T> clazz, Event event, java.lang.String url)voidstartEventsPersist()voidstopEventsPersist()
-
-
-
Constructor Detail
-
SecureNativeEventManager
public SecureNativeEventManager(HttpClient httpClient, SecureNativeOptions options) throws SecureNativeSDKException
- Throws:
SecureNativeSDKException
-
-
Method Detail
-
sendSync
public <T> T sendSync(java.lang.Class<T> clazz, Event event, java.lang.String url) throws java.io.IOException, SecureNativeParseException- Specified by:
sendSyncin interfaceEventManager- Throws:
java.io.IOExceptionSecureNativeParseException
-
sendAsync
public void sendAsync(Event event, java.lang.String url, java.lang.Boolean retry)
- Specified by:
sendAsyncin interfaceEventManager
-
startEventsPersist
public void startEventsPersist()
- Specified by:
startEventsPersistin interfaceEventManager
-
stopEventsPersist
public void stopEventsPersist()
- Specified by:
stopEventsPersistin interfaceEventManager
-
-