External network information. More...
Public Member Functions | |
| ExternalNetworkInfo () | |
| String | getPublicHostname () |
| Gets the public hostname. More... | |
| String | getPublicIPAddress () |
| Gets the public IP address. More... | |
| void | setPublicHostname (String value) |
| Sets the public hostname. More... | |
| void | setPublicIPAddress (String value) |
| Sets the public IP address. More... | |
Public Member Functions inherited from fm.liveswitch.NetworkInfo | |
| String[] | getIPAddresses () |
| Gets the IP addresses. More... | |
| int[] | getPorts () |
| Gets the ports. More... | |
| NetworkInfo () | |
| void | setIPAddresses (String[] value) |
| Sets the IP addresses. More... | |
| void | setPorts (int[] value) |
| Sets the ports. More... | |
| String | toJson () |
| Serializes this instance to Json. More... | |
Static Public Member Functions | |
| static fm.liveswitch.ExternalNetworkInfo | fromJson (String networkInfoJson) |
| Deserializes Json to a ExternalNetworkInfo. More... | |
| static String | toJson (fm.liveswitch.ExternalNetworkInfo networkInfo) |
| Serializes an instance to Json. More... | |
Static Public Member Functions inherited from fm.liveswitch.NetworkInfo | |
| static String | toJson (fm.liveswitch.NetworkInfo networkInfo) |
| Serializes an instance to Json. More... | |
Protected Member Functions | |
| void | deserializeProperties (String key, String valueJson) |
| Deserializes the properties. More... | |
| void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
| Serializes the properties. More... | |
External network information.
| fm.liveswitch.ExternalNetworkInfo.ExternalNetworkInfo | ( | ) |
|
protected |
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.NetworkInfo.
|
static |
Deserializes Json to a ExternalNetworkInfo.
| networkInfoJson | The serialized Json. |
Reimplemented from fm.liveswitch.NetworkInfo.
| String fm.liveswitch.ExternalNetworkInfo.getPublicHostname | ( | ) |
Gets the public hostname.
| String fm.liveswitch.ExternalNetworkInfo.getPublicIPAddress | ( | ) |
Gets the public IP address.
|
protected |
Serializes the properties.
| jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.NetworkInfo.
| void fm.liveswitch.ExternalNetworkInfo.setPublicHostname | ( | String | value | ) |
Sets the public hostname.
| void fm.liveswitch.ExternalNetworkInfo.setPublicIPAddress | ( | String | value | ) |
Sets the public IP address.
|
static |