#include <bfd_server.h>
|
| Server (EventManager *evm, Connection *communicator) |
|
virtual | ~Server () |
|
ResultCode | ProcessControlPacketActual (const ControlPacket *packet) |
|
void | ProcessControlPacket (const boost::asio::ip::udp::endpoint &local_endpoint, const boost::asio::ip::udp::endpoint &remote_endpoint, const SessionIndex &session_index, const boost::asio::const_buffer &recv_buffer, std::size_t bytes_transferred, const boost::system::error_code &error) |
|
ResultCode | ConfigureSession (const SessionKey &key, const SessionConfig &config, Discriminator *assignedDiscriminator) |
|
ResultCode | RemoveSessionReference (const SessionKey &key) |
|
Session * | SessionByKey (const boost::asio::ip::address &address, const SessionIndex &index=SessionIndex()) |
|
Session * | SessionByKey (const SessionKey &key) |
|
Session * | SessionByKey (const SessionKey &key) const |
|
Connection * | communicator () const |
|
void | AddSession (const SessionKey &key, const SessionConfig &config, ChangeCb cb) |
|
void | DeleteSession (const SessionKey &key) |
|
void | DeleteClientSessions () |
|
Sessions * | GetSessions () |
|
WorkQueue< Event * > * | event_queue () |
|
Definition at line 28 of file bfd_server.h.
◆ EventType
Enumerator |
---|
BEGIN_EVENT | |
ADD_CONNECTION | |
DELETE_CONNECTION | |
DELETE_CLIENT_CONNECTIONS | |
PROCESS_PACKET | |
END_EVENT | |
Definition at line 94 of file bfd_server.h.
◆ Server()
◆ ~Server()
◆ AddSession() [1/2]
◆ AddSession() [2/2]
void BFD::Server::AddSession |
( |
Event * |
event | ) |
|
|
private |
◆ communicator()
◆ ConfigureSession()
◆ DeleteClientSessions() [1/2]
void BFD::Server::DeleteClientSessions |
( |
| ) |
|
◆ DeleteClientSessions() [2/2]
void BFD::Server::DeleteClientSessions |
( |
Event * |
event | ) |
|
|
private |
◆ DeleteSession() [1/2]
void BFD::Server::DeleteSession |
( |
const SessionKey & |
key | ) |
|
◆ DeleteSession() [2/2]
void BFD::Server::DeleteSession |
( |
Event * |
event | ) |
|
|
private |
◆ EnqueueEvent()
void BFD::Server::EnqueueEvent |
( |
Event * |
event | ) |
|
|
private |
◆ event_queue()
◆ EventCallback()
bool BFD::Server::EventCallback |
( |
Event * |
event | ) |
|
|
private |
◆ GetSession()
◆ GetSessions()
◆ ProcessControlPacket() [1/2]
void BFD::Server::ProcessControlPacket |
( |
const boost::asio::ip::udp::endpoint & |
local_endpoint, |
|
|
const boost::asio::ip::udp::endpoint & |
remote_endpoint, |
|
|
const SessionIndex & |
session_index, |
|
|
const boost::asio::const_buffer & |
recv_buffer, |
|
|
std::size_t |
bytes_transferred, |
|
|
const boost::system::error_code & |
error |
|
) |
| |
◆ ProcessControlPacket() [2/2]
void BFD::Server::ProcessControlPacket |
( |
Event * |
event | ) |
|
|
private |
◆ ProcessControlPacketActual()
◆ RemoveSessionReference()
◆ SessionByKey() [1/3]
◆ SessionByKey() [2/3]
◆ SessionByKey() [3/3]
◆ communicator_
◆ event_queue_
◆ evm_
◆ session_manager_
◆ sessions_
The documentation for this class was generated from the following files: