Ring Daemon 16.0.0
|
Public Member Functions | |
Impl (dhtnet::ConnectionManager &cm, OnMessage onMessage, OnPeerStateChanged onPeer) | |
void | onChannelShutdown (const std::shared_ptr< dhtnet::ChannelSocket > &socket, const std::string &peerId, const DeviceId &device) |
Public Attributes | |
dhtnet::ConnectionManager & | connectionManager_ |
std::map< std::string, std::map< DeviceId, std::vector< std::shared_ptr< dhtnet::ChannelSocket > > > > | connections_ |
std::recursive_mutex | connectionsMtx_ |
OnMessage | onMessage_ |
OnPeerStateChanged | onPeerStateChanged_ |
Definition at line 25 of file message_channel_handler.cpp.
|
inline |
Definition at line 33 of file message_channel_handler.cpp.
void jami::MessageChannelHandler::Impl::onChannelShutdown | ( | const std::shared_ptr< dhtnet::ChannelSocket > & | socket, |
const std::string & | peerId, | ||
const DeviceId & | device | ||
) |
Definition at line 73 of file message_channel_handler.cpp.
References connections_, connectionsMtx_, jami::emitSignal(), and onPeerStateChanged_.
dhtnet::ConnectionManager& jami::MessageChannelHandler::Impl::connectionManager_ |
Definition at line 27 of file message_channel_handler.cpp.
std::map<std::string, std::map<DeviceId, std::vector<std::shared_ptr<dhtnet::ChannelSocket> > > > jami::MessageChannelHandler::Impl::connections_ |
Definition at line 31 of file message_channel_handler.cpp.
Referenced by onChannelShutdown().
std::recursive_mutex jami::MessageChannelHandler::Impl::connectionsMtx_ |
Definition at line 30 of file message_channel_handler.cpp.
Referenced by onChannelShutdown().
OnMessage jami::MessageChannelHandler::Impl::onMessage_ |
Definition at line 28 of file message_channel_handler.cpp.
OnPeerStateChanged jami::MessageChannelHandler::Impl::onPeerStateChanged_ |
Definition at line 29 of file message_channel_handler.cpp.
Referenced by onChannelShutdown().