Home
TURN module (rfc5766)

ClientState

State machine states for the TURN client.

ClientState

#include <icy/turn/client/client.h>
struct ClientState

Defined in src/turn/include/icy/turn/client/client.h:30

Inherits: State

State machine states for the TURN client.

List of all members

NameKindOwner
toStringfunctionDeclared here
TypeenumDeclared here
operator<<friendInherited from State
StatefunctionInherited from State
StatefunctionInherited from State
operator=functionInherited from State
~StatefunctionInherited from State
idfunctionInherited from State
setfunctionInherited from State
strfunctionInherited from State
toStringfunctionInherited from State
equalsfunctionInherited from State
betweenfunctionInherited from State
operator==functionInherited from State
operator==functionInherited from State
_idvariableInherited from State
IDtypedefInherited from State

Inherited from State

KindNameDescription
friendoperator<< inline
functionState
functionStateCopy constructor.
functionoperator=Copy assignment.
function~State virtualDefaulted destructor.
functionid constReturns the current state ID.
functionsetSets the state ID.
functionstr virtual constReturns a human-readable string for the given state ID. Override in derived classes to provide meaningful names.
functiontoString virtual constReturns a human-readable string for the current state ID.
functionequals constReturns true if the current state ID equals the given ID.
functionbetween constReturns true if the current state ID is in the inclusive range [lid, rid].
functionoperator== const inline
functionoperator== const inline
variable_id
typedefID

Public Methods

ReturnNameDescription
std::stringtoString virtual const inline

toString

virtual const inline

virtual inline std::string toString() const

Defined in src/turn/include/icy/turn/client/client.h:43

Returns

Human-readable name for the current state.

Reimplements

Public Types

NameDescription
Type

Type

enum Type

Defined in src/turn/include/icy/turn/client/client.h:32

ValueDescription
None
Allocating
Authorizing
Success
Failed