fm.liveswitch.CandidateUtility Class Reference

Utility functions for candidate and candidate pair. More...

Public Member Functions

 CandidateUtility ()
 

Static Public Member Functions

static fm.liveswitch.CandidatePairState candidatePairStateFromString (String stateString)
 Convert string to CandidatePairState. More...
 
static String candidatePairStateToString (fm.liveswitch.CandidatePairState state)
 Convert CandidatePairState to string. More...
 
static fm.liveswitch.ProtocolType protocolTypeFromString (String protocolTypeString)
 Convert string to ProtocolType. More...
 
static String protocolTypeToString (fm.liveswitch.ProtocolType protocolType)
 Convert ProtocolType to string. More...
 
static fm.liveswitch.CandidateType typeFromString (String typeString)
 Convert string to CandidateType. More...
 
static String typeToString (fm.liveswitch.CandidateType type)
 Convert CandidateType to string. More...
 

Detailed Description

Utility functions for candidate and candidate pair.

Constructor & Destructor Documentation

◆ CandidateUtility()

fm.liveswitch.CandidateUtility.CandidateUtility ( )

Member Function Documentation

◆ candidatePairStateFromString()

static fm.liveswitch.CandidatePairState fm.liveswitch.CandidateUtility.candidatePairStateFromString ( String  stateString)
static

Convert string to CandidatePairState.

Parameters
stateString

◆ candidatePairStateToString()

static String fm.liveswitch.CandidateUtility.candidatePairStateToString ( fm.liveswitch.CandidatePairState  state)
static

Convert CandidatePairState to string.

Parameters
state

◆ protocolTypeFromString()

static fm.liveswitch.ProtocolType fm.liveswitch.CandidateUtility.protocolTypeFromString ( String  protocolTypeString)
static

Convert string to ProtocolType.

Parameters
protocolTypeString

◆ protocolTypeToString()

static String fm.liveswitch.CandidateUtility.protocolTypeToString ( fm.liveswitch.ProtocolType  protocolType)
static

Convert ProtocolType to string.

Parameters
protocolType

◆ typeFromString()

static fm.liveswitch.CandidateType fm.liveswitch.CandidateUtility.typeFromString ( String  typeString)
static

Convert string to CandidateType.

Parameters
typeString

◆ typeToString()

static String fm.liveswitch.CandidateUtility.typeToString ( fm.liveswitch.CandidateType  type)
static

Convert CandidateType to string.

Parameters
type