#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.
Enumerator |
---|
BEGIN_EVENT |
|
ADD_CONNECTION |
|
DELETE_CONNECTION |
|
DELETE_CLIENT_CONNECTIONS |
|
PROCESS_PACKET |
|
END_EVENT |
|
Definition at line 94 of file bfd_server.h.
void BFD::Server::AddSession |
( |
Event * |
event | ) |
|
|
private |
void BFD::Server::DeleteClientSessions |
( |
| ) |
|
void BFD::Server::DeleteClientSessions |
( |
Event * |
event | ) |
|
|
private |
void BFD::Server::DeleteSession |
( |
const SessionKey & |
key | ) |
|
void BFD::Server::DeleteSession |
( |
Event * |
event | ) |
|
|
private |
void BFD::Server::EnqueueEvent |
( |
Event * |
event | ) |
|
|
private |
bool BFD::Server::EventCallback |
( |
Event * |
event | ) |
|
|
private |
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 |
|
) |
| |
void BFD::Server::ProcessControlPacket |
( |
Event * |
event | ) |
|
|
private |
The documentation for this class was generated from the following files: