class MGCPEpInfo

Remote endpoint info class. More...

Full nameTelEngine::MGCPEpInfo
Definition#include <libs/ymgcp/yatemgcp.h>
InheritsTelEngine::GenObject [public ], TelEngine::MGCPEndpointId [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

This class holds data about a remote endpoint (id and address)

inline  MGCPEpInfo (const char* endpoint, const char* host, int port, bool addPort = true)

MGCPEpInfo

Constructor. Construct this endpoint info

Parameters:
endpointThe endpoint part of the endpoint's id
hostThe IP address of this endpoint
portThe port used to send data to this endpoint
addPortAdd :port at end of id only if port is not zero

const String&  toString ()

toString

[const virtual]

Get a string representation of this object

Returns: The endpoint's id

Reimplemented from GenObject.

inline const SocketAddr&  address ()

address

[const]

Retrieve the current address for this endpoint information

Returns: Address and port of this endpoint info

const SocketAddr&  address ()

address

Retrieve the address for this endpoint information, resolve name if needed

Returns: Address and port of this endpoint info

inline void  address (const SocketAddr& addr)

address

Set a new socket address in the endpoint info

Parameters:
addrNew address and port to set in the endpoint

String alias

alias


Generated by: paulc on bussard on Thu Jul 24 18:41:02 2014, using kdoc 2.0a54.