reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
kurento::KurentoConnection Class Reference

#include <KurentoConnection.hxx>

Public Types

typedef std::shared_ptr< KurentoConnection > ptr
 

Public Member Functions

 KurentoConnection (KurentoConnectionObserver &observer, std::string uri, client &wSClient, std::chrono::milliseconds timeout, std::chrono::milliseconds retryInterval, bool waitForResponse=true)
 
virtual ~KurentoConnection ()
 
void onRetryRequired ()
 
void onOpen (client *wSClient, websocketpp::connection_hdl h)
 
void onFail (client *wSClient, websocketpp::connection_hdl h)
 
void onClose (client *wSClient, websocketpp::connection_hdl h)
 
void onMessage (client *wSClient, websocketpp::connection_hdl, client::message_ptr msg)
 
std::string sendRequest (std::shared_ptr< KurentoResponseHandler > krh, const std::string &method, const json::Object &params)
 
void registerObject (std::shared_ptr< KurentoResponseHandler > object)
 
void unregisterObject (const std::string &objectId)
 

Detailed Description

Definition at line 49 of file KurentoConnection.hxx.

Member Typedef Documentation

◆ ptr

Constructor & Destructor Documentation

◆ KurentoConnection()

KurentoConnection::KurentoConnection ( KurentoConnectionObserver &  observer,
std::string  uri,
kurento::client &  wSClient,
std::chrono::milliseconds  timeout,
std::chrono::milliseconds  retryInterval,
bool  waitForResponse = true 
)

Definition at line 22 of file KurentoConnection.cxx.

◆ ~KurentoConnection()

KurentoConnection::~KurentoConnection ( )
virtual

Definition at line 33 of file KurentoConnection.cxx.

Member Function Documentation

◆ onClose()

void KurentoConnection::onClose ( client *  wSClient,
websocketpp::connection_hdl  h 
)

Definition at line 97 of file KurentoConnection.cxx.

◆ onFail()

void KurentoConnection::onFail ( client *  wSClient,
websocketpp::connection_hdl  h 
)

Definition at line 90 of file KurentoConnection.cxx.

◆ onMessage()

void KurentoConnection::onMessage ( client *  wSClient,
websocketpp::connection_hdl  h,
client::message_ptr  msg 
)

Definition at line 109 of file KurentoConnection.cxx.

◆ onOpen()

void KurentoConnection::onOpen ( client *  wSClient,
websocketpp::connection_hdl  h 
)

Definition at line 81 of file KurentoConnection.cxx.

◆ onRetryRequired()

void KurentoConnection::onRetryRequired ( )

Definition at line 39 of file KurentoConnection.cxx.

◆ registerObject()

void KurentoConnection::registerObject ( std::shared_ptr< KurentoResponseHandler >  object)

Definition at line 306 of file KurentoConnection.cxx.

◆ sendRequest()

std::string KurentoConnection::sendRequest ( std::shared_ptr< KurentoResponseHandler >  krh,
const std::string &  method,
const json::Object &  params 
)

Definition at line 278 of file KurentoConnection.cxx.

◆ unregisterObject()

void KurentoConnection::unregisterObject ( const std::string &  objectId)

Definition at line 314 of file KurentoConnection.cxx.


The documentation for this class was generated from the following files: