Dispatch is an extension to the SpeedifySDK to enable automatic fail over and load balancing in proxy mode.
More...
Dispatch is an extension to the SpeedifySDK to enable automatic fail over and load balancing in proxy mode.
- Since
- 15.4
◆ Dispatch()
Creates a new Dispatch instance.
- Parameters
-
- Since
- 15.4
◆ getInstance() [1/2]
Gets the current Dispatch instance.
- Returns
- the Dispatch instance, or null
- Since
- 15.4
◆ getInstance() [2/2]
static Dispatch getInstance |
( |
Context | context | ) |
|
|
static |
Gets the current Dispatch instance.If there is no current instance and a context is passed, a new instance will be created.
This relies on SpeedifySDK.AutoConstruct
- Returns
- the Dispatch instance, or null
- Since
- 15.4
◆ refreshSettings()
final void refreshSettings |
( |
| ) |
|
Get the current settings.
- Since
- 15.4
◆ refreshStats()
final void refreshStats |
( |
| ) |
|
Get the current statistics.
- Since
- 15.4
◆ setMonitoringPingDestination()
final void setMonitoringPingDestination |
( |
String | destination | ) |
|
Set the destination IP for monitoring pings.
- Parameters
-
destination | the destination IP to use |
- Since
- 15.4
◆ setRoutingMode()
Configure the current routing mode.
- Parameters
-
mode | the routing mode to use |
- Since
- 15.4
◆ Version()
static final String Version |
( |
| ) |
|
|
static |
Dispatch version.
- Returns
- string of the version, ie: 15.1.0+1
- Since
- 15.4
◆ sdkStateReceivers
Registers a new SDK state receiver Receivers are WeakReferenced, so you must keep a reference to the receiver.
- Parameters
-
receiver | the receiver to register |
- Since
- 15.4
The documentation for this class was generated from the following file:
- dispatch/src/main/java/com/speedify/speedifysdk/dispatch/Dispatch.java