public interface PXClient
Created by Shikloshi on 03/07/2016.
Modifier and Type | Method and Description |
---|---|
PXDynamicConfiguration |
getConfigurationFromServer()
Calling remote configuration server and fetching the latest configuration values
|
RiskResponse |
riskApiCall(RiskRequest riskRequest)
Calling PX Server with Risk API call
|
void |
sendActivity(Activity activity)
Calling PX Server to report Activity
|
void |
sendBatchActivities(List<Activity> activities)
Calling PX Server to report Activity
|
void |
sendEnforcerTelemetry(EnforcerTelemetry enforcerTelemetry)
Calling PX Servers and reporting enforcer telemetry asynchronously
|
RiskResponse riskApiCall(RiskRequest riskRequest) throws PXException, IOException
riskRequest
- - risk request to sendRiskResponse
PXException
IOException
void sendActivity(Activity activity) throws PXException, IOException
activity
- - the activity we want to reportPXException
IOException
void sendBatchActivities(List<Activity> activities) throws PXException, IOException
activities
- - the activites we want to reportPXException
IOException
PXDynamicConfiguration getConfigurationFromServer()
IOException
- when trying to close the connectionvoid sendEnforcerTelemetry(EnforcerTelemetry enforcerTelemetry) throws PXException, IOException
enforcerTelemetry
- PXException
IOException
Copyright © 2018 PerimeterX. All rights reserved.