Public Member Functions | |
ClientInfo () | |
Initializes a new instance of the fm.liveswitch.ClientInfo class. More... | |
ClientInfo (String userId, String deviceId, String idValue) | |
Initializes a new instance of the fm.liveswitch.ClientInfo class. More... | |
ClientInfo (String userId, String userAlias, String deviceId, String deviceAlias, String idValue, String tag, String[] roles, String protocol) | |
Initializes a new instance of the fm.liveswitch.ClientInfo class. More... | |
ClientInfo (String userId, String userAlias, String deviceId, String deviceAlias, String idValue, String tag, String[] roles, String protocol, String region) | |
Initializes a new instance of the fm.liveswitch.ClientInfo class. More... | |
String | getApplicationId () |
Gets the application identifier. More... | |
String | getArchitecture () |
Gets the client architecture. More... | |
int | getCoreCount () |
Gets the client core count. More... | |
String | getDeviceAlias () |
Gets the device alias. More... | |
String | getDeviceId () |
Gets the device identifier. More... | |
String | getExternalId () |
Gets the client external identifier. More... | |
boolean | getIsSip () |
Gets whether the client is connected via SIP. More... | |
String | getMachineName () |
Gets the client machine name. More... | |
String | getOperatingSystem () |
Gets the client operating system. More... | |
String | getOperatingSystemVersion () |
Gets the client operating system version. More... | |
long | getPhysicalMemory () |
Gets the connector physical memory. More... | |
String | getPlatformDescription () |
Gets the client platform description. More... | |
String | getPlatformType () |
Gets the client platform type. More... | |
String | getPlatformTypeVersion () |
Gets the client platform type version. More... | |
String | getProtocol () |
Gets the client protocol. More... | |
String | getRegion () |
Gets the client region. More... | |
fm.liveswitch.ClientReport | getReport () |
Gets the client report. More... | |
String[] | getRoles () |
Gets the client roles. More... | |
String | getSourceLanguage () |
Gets the client source language. More... | |
String | getTag () |
Gets the client tag. More... | |
String | getUserAlias () |
Gets the user alias. More... | |
String | getUserId () |
Gets the user identifier. More... | |
String | getVersion () |
Gets the client version. More... | |
boolean | isEquivalent (fm.liveswitch.ClientInfo clientInfo) |
Tests for equivalency. More... | |
boolean | isEquivalent (fm.liveswitch.ConnectionInfo connectionInfo) |
Tests for equivalency. More... | |
boolean | isEquivalent (String userId, String deviceId, String idValue) |
Tests equivalency. More... | |
void | setApplicationId (String value) |
Sets the application identifier. More... | |
void | setArchitecture (String value) |
Sets the client architecture. More... | |
void | setCoreCount (int value) |
Sets the client core count. More... | |
void | setDeviceAlias (String value) |
Sets the device alias. More... | |
void | setDeviceId (String value) |
Sets the device identifier. More... | |
void | setExternalId (String value) |
Sets the client external identifier. More... | |
void | setMachineName (String value) |
Sets the client machine name. More... | |
void | setOperatingSystem (String value) |
Sets the client operating system. More... | |
void | setOperatingSystemVersion (String value) |
Sets the client operating system version. More... | |
void | setPhysicalMemory (long value) |
Sets the connector physical memory. More... | |
void | setPlatformDescription (String value) |
Sets the client platform description. More... | |
void | setPlatformType (String value) |
Sets the client platform type. More... | |
void | setPlatformTypeVersion (String value) |
Sets the client platform type version. More... | |
void | setProtocol (String value) |
Sets the client protocol. More... | |
void | setRegion (String value) |
Sets the client region. More... | |
void | setReport (fm.liveswitch.ClientReport value) |
Sets the client report. More... | |
void | setRoles (String[] value) |
Sets the client roles. More... | |
void | setSourceLanguage (String value) |
Sets the client source language. More... | |
void | setTag (String value) |
Sets the client tag. More... | |
void | setUserAlias (String value) |
Sets the user alias. More... | |
void | setUserId (String value) |
Sets the user identifier. More... | |
void | setVersion (String value) |
Sets the client version. More... | |
String | toJson () |
Serializes this instance to Json. More... | |
Public Member Functions inherited from fm.liveswitch.Info | |
String | getId () |
Gets the identifier. More... | |
void | setId (String value) |
Sets the identifier. More... | |
Static Public Member Functions | |
static fm.liveswitch.ClientInfo | fromJson (String clientInfoJson) |
Deserializes an instance from JSON. More... | |
static fm.liveswitch.ClientInfo[] | fromJsonArray (String clientInfosJson) |
Deserializes an array of instances from JSON. More... | |
static String | getProtocolSip () |
Gets the protocol string representing SIP. More... | |
static String | toJson (fm.liveswitch.ClientInfo clientInfo) |
Serializes an instance to JSON. More... | |
static String | toJsonArray (fm.liveswitch.ClientInfo[] clientInfos) |
Serializes an array of instances to JSON. More... | |
Static Public Member Functions inherited from fm.liveswitch.Info | |
static< T extends fm.liveswitch.IEquivalent< T > T[] | processArray (T[] newValues, T[] oldValues) |
Processes an array for an info. More... | |
static fm.liveswitch.NullableBoolean | processBoolean (boolean newValue, boolean oldValue) |
Processes a boolean for an info. More... | |
static boolean[] | processBooleanArray (boolean[] newValues, boolean[] oldValues) |
Processes a boolean array for an info. More... | |
static fm.liveswitch.NullableDouble | processDouble (double newValue, double oldValue) |
Processes a double for an info. More... | |
static fm.liveswitch.NullableFloat | processFloat (float newValue, float oldValue) |
Processes a float for an info. More... | |
static float[] | processFloatArray (float[] newValues, float[] oldValues) |
Processes a float array for an info. More... | |
static double[] | processFloatArray (double[] newValues, double[] oldValues) |
Processes a double array for an info. More... | |
static fm.liveswitch.NullableInteger | processInteger (int newValue, int oldValue) |
Processes an integer for an info. More... | |
static int[] | processIntegerArray (int[] newValues, int[] oldValues) |
Processes a integer array for an info. More... | |
static fm.liveswitch.NullableLong | processLong (long newValue, long oldValue) |
Processes a long for an info. More... | |
static long[] | processLongArray (long[] newValues, long[] oldValues) |
Processes a long array for an info. More... | |
static< T extends Object &fm.liveswitch.IEquivalent< T > T | processObject (T newValue, T oldValue) |
Processes an object for an info. More... | |
static fm.liveswitch.NullableShort | processShort (short newValue, short oldValue) |
Processes a short for an info. More... | |
static short[] | processShortArray (short[] newValues, short[] oldValues) |
Processes a short array for an info. More... | |
static String | processString (String newValue, String oldValue) |
Processes a string for an info. 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... | |
Protected Member Functions inherited from fm.liveswitch.Info | |
Info () | |
Client information.
fm.liveswitch.ClientInfo.ClientInfo | ( | ) |
Initializes a new instance of the fm.liveswitch.ClientInfo class.
fm.liveswitch.ClientInfo.ClientInfo | ( | String | userId, |
String | deviceId, | ||
String | idValue | ||
) |
Initializes a new instance of the fm.liveswitch.ClientInfo class.
userId | The user identifier. |
deviceId | The device identifier. |
idValue | The client identifier. |
fm.liveswitch.ClientInfo.ClientInfo | ( | String | userId, |
String | userAlias, | ||
String | deviceId, | ||
String | deviceAlias, | ||
String | idValue, | ||
String | tag, | ||
String[] | roles, | ||
String | protocol | ||
) |
Initializes a new instance of the fm.liveswitch.ClientInfo class.
userId | The user identifier. |
userAlias | The user alias. |
deviceId | The device identifier. |
deviceAlias | The device alias. |
idValue | The client identifier. |
tag | The client tag. |
roles | The client roles. |
protocol | The client protocol. |
fm.liveswitch.ClientInfo.ClientInfo | ( | String | userId, |
String | userAlias, | ||
String | deviceId, | ||
String | deviceAlias, | ||
String | idValue, | ||
String | tag, | ||
String[] | roles, | ||
String | protocol, | ||
String | region | ||
) |
Initializes a new instance of the fm.liveswitch.ClientInfo class.
userId | The user identifier. |
userAlias | The user alias. |
deviceId | The device identifier. |
deviceAlias | The device alias. |
idValue | The client identifier. |
tag | The client tag. |
roles | The client roles. |
protocol | The client protocol. |
region | The client region. |
|
protected |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.Info.
|
static |
Deserializes an instance from JSON.
clientInfoJson | The JSON to deserialize. |
|
static |
Deserializes an array of instances from JSON.
clientInfosJson | The JSON to deserialize. |
String fm.liveswitch.ClientInfo.getApplicationId | ( | ) |
Gets the application identifier.
String fm.liveswitch.ClientInfo.getArchitecture | ( | ) |
Gets the client architecture.
int fm.liveswitch.ClientInfo.getCoreCount | ( | ) |
Gets the client core count.
String fm.liveswitch.ClientInfo.getDeviceAlias | ( | ) |
Gets the device alias.
String fm.liveswitch.ClientInfo.getDeviceId | ( | ) |
Gets the device identifier.
String fm.liveswitch.ClientInfo.getExternalId | ( | ) |
Gets the client external identifier.
boolean fm.liveswitch.ClientInfo.getIsSip | ( | ) |
Gets whether the client is connected via SIP.
String fm.liveswitch.ClientInfo.getMachineName | ( | ) |
Gets the client machine name.
String fm.liveswitch.ClientInfo.getOperatingSystem | ( | ) |
Gets the client operating system.
String fm.liveswitch.ClientInfo.getOperatingSystemVersion | ( | ) |
Gets the client operating system version.
long fm.liveswitch.ClientInfo.getPhysicalMemory | ( | ) |
Gets the connector physical memory.
String fm.liveswitch.ClientInfo.getPlatformDescription | ( | ) |
Gets the client platform description.
String fm.liveswitch.ClientInfo.getPlatformType | ( | ) |
Gets the client platform type.
String fm.liveswitch.ClientInfo.getPlatformTypeVersion | ( | ) |
Gets the client platform type version.
String fm.liveswitch.ClientInfo.getProtocol | ( | ) |
Gets the client protocol.
|
static |
Gets the protocol string representing SIP.
String fm.liveswitch.ClientInfo.getRegion | ( | ) |
Gets the client region.
fm.liveswitch.ClientReport fm.liveswitch.ClientInfo.getReport | ( | ) |
Gets the client report.
String [] fm.liveswitch.ClientInfo.getRoles | ( | ) |
Gets the client roles.
String fm.liveswitch.ClientInfo.getSourceLanguage | ( | ) |
Gets the client source language.
String fm.liveswitch.ClientInfo.getTag | ( | ) |
Gets the client tag.
String fm.liveswitch.ClientInfo.getUserAlias | ( | ) |
Gets the user alias.
String fm.liveswitch.ClientInfo.getUserId | ( | ) |
Gets the user identifier.
String fm.liveswitch.ClientInfo.getVersion | ( | ) |
Gets the client version.
boolean fm.liveswitch.ClientInfo.isEquivalent | ( | fm.liveswitch.ClientInfo | clientInfo | ) |
Tests for equivalency.
clientInfo | The client information. |
boolean fm.liveswitch.ClientInfo.isEquivalent | ( | fm.liveswitch.ConnectionInfo | connectionInfo | ) |
Tests for equivalency.
connectionInfo | The connection information. |
boolean fm.liveswitch.ClientInfo.isEquivalent | ( | String | userId, |
String | deviceId, | ||
String | idValue | ||
) |
Tests equivalency.
userId | The user identifier. |
deviceId | The device identifier. |
idValue | The client identifier. |
|
protected |
Serializes the properties.
jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.Info.
void fm.liveswitch.ClientInfo.setApplicationId | ( | String | value | ) |
Sets the application identifier.
void fm.liveswitch.ClientInfo.setArchitecture | ( | String | value | ) |
Sets the client architecture.
void fm.liveswitch.ClientInfo.setCoreCount | ( | int | value | ) |
Sets the client core count.
void fm.liveswitch.ClientInfo.setDeviceAlias | ( | String | value | ) |
Sets the device alias.
void fm.liveswitch.ClientInfo.setDeviceId | ( | String | value | ) |
Sets the device identifier.
void fm.liveswitch.ClientInfo.setExternalId | ( | String | value | ) |
Sets the client external identifier.
void fm.liveswitch.ClientInfo.setMachineName | ( | String | value | ) |
Sets the client machine name.
void fm.liveswitch.ClientInfo.setOperatingSystem | ( | String | value | ) |
Sets the client operating system.
void fm.liveswitch.ClientInfo.setOperatingSystemVersion | ( | String | value | ) |
Sets the client operating system version.
void fm.liveswitch.ClientInfo.setPhysicalMemory | ( | long | value | ) |
Sets the connector physical memory.
void fm.liveswitch.ClientInfo.setPlatformDescription | ( | String | value | ) |
Sets the client platform description.
void fm.liveswitch.ClientInfo.setPlatformType | ( | String | value | ) |
Sets the client platform type.
void fm.liveswitch.ClientInfo.setPlatformTypeVersion | ( | String | value | ) |
Sets the client platform type version.
void fm.liveswitch.ClientInfo.setProtocol | ( | String | value | ) |
Sets the client protocol.
void fm.liveswitch.ClientInfo.setRegion | ( | String | value | ) |
Sets the client region.
void fm.liveswitch.ClientInfo.setReport | ( | fm.liveswitch.ClientReport | value | ) |
Sets the client report.
void fm.liveswitch.ClientInfo.setRoles | ( | String[] | value | ) |
Sets the client roles.
void fm.liveswitch.ClientInfo.setSourceLanguage | ( | String | value | ) |
Sets the client source language.
void fm.liveswitch.ClientInfo.setTag | ( | String | value | ) |
Sets the client tag.
void fm.liveswitch.ClientInfo.setUserAlias | ( | String | value | ) |
Sets the user alias.
void fm.liveswitch.ClientInfo.setUserId | ( | String | value | ) |
Sets the user identifier.
void fm.liveswitch.ClientInfo.setVersion | ( | String | value | ) |
Sets the client version.
String fm.liveswitch.ClientInfo.toJson | ( | ) |
Serializes this instance to Json.
|
static |
Serializes an instance to JSON.
clientInfo | The client info to serialize. |
|
static |
Serializes an array of instances to JSON.
clientInfos | The client infos to serialize. |