fm.liveswitch.InternalNetworkInfo Class Reference

Internal network information. More...

Public Member Functions

 InternalNetworkInfo ()
 
- 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.InternalNetworkInfo fromJson (String networkInfoJson)
 Deserializes Json to a InternalNetworkInfo. More...
 
static String toJson (fm.liveswitch.InternalNetworkInfo 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...
 

Detailed Description

Internal network information.

Constructor & Destructor Documentation

◆ InternalNetworkInfo()

fm.liveswitch.InternalNetworkInfo.InternalNetworkInfo ( )

Member Function Documentation

◆ deserializeProperties()

void fm.liveswitch.InternalNetworkInfo.deserializeProperties ( String  key,
String  valueJson 
)
protected

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Reimplemented from fm.liveswitch.NetworkInfo.

◆ fromJson()

static fm.liveswitch.InternalNetworkInfo fm.liveswitch.InternalNetworkInfo.fromJson ( String  networkInfoJson)
static

Deserializes Json to a InternalNetworkInfo.

Parameters
networkInfoJsonThe serialized Json.
Returns
The deserialized InternalNetworkInfo.

Reimplemented from fm.liveswitch.NetworkInfo.

◆ serializeProperties()

void fm.liveswitch.InternalNetworkInfo.serializeProperties ( java.util.HashMap< String, String >  jsonObject)
protected

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.NetworkInfo.

◆ toJson()

static String fm.liveswitch.InternalNetworkInfo.toJson ( fm.liveswitch.InternalNetworkInfo  networkInfo)
static

Serializes an instance to Json.

Parameters
networkInfoThe instance to serialize.
Returns
Serialized Json.