OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BFD::Server::Event Struct Reference
Collaboration diagram for BFD::Server::Event:

Public Member Functions

 Event (EventType type, const SessionKey &key, const SessionConfig &config, ChangeCb cb)
 
 Event (EventType type, const SessionKey &key)
 
 Event (EventType type, boost::asio::ip::udp::endpoint local_endpoint, boost::asio::ip::udp::endpoint remote_endpoint, const SessionIndex &session_index, const boost::asio::const_buffer &recv_buffer, std::size_t bytes_transferred)
 
 Event (EventType type)
 

Public Attributes

EventType type
 
SessionKey key
 
SessionConfig config
 
ChangeCb cb
 
boost::asio::ip::udp::endpoint local_endpoint
 
boost::asio::ip::udp::endpoint remote_endpoint
 
const SessionIndex session_index
 
const boost::asio::const_buffer recv_buffer
 
std::size_t bytes_transferred
 

Detailed Description

Definition at line 103 of file bfd_server.h.

Constructor & Destructor Documentation

BFD::Server::Event::Event ( EventType  type,
const SessionKey key,
const SessionConfig config,
ChangeCb  cb 
)
inline

Definition at line 104 of file bfd_server.h.

BFD::Server::Event::Event ( EventType  type,
const SessionKey key 
)
inline

Definition at line 108 of file bfd_server.h.

BFD::Server::Event::Event ( EventType  type,
boost::asio::ip::udp::endpoint  local_endpoint,
boost::asio::ip::udp::endpoint  remote_endpoint,
const SessionIndex session_index,
const boost::asio::const_buffer &  recv_buffer,
std::size_t  bytes_transferred 
)
inline

Definition at line 111 of file bfd_server.h.

BFD::Server::Event::Event ( EventType  type)
inline

Definition at line 120 of file bfd_server.h.

Member Data Documentation

std::size_t BFD::Server::Event::bytes_transferred

Definition at line 131 of file bfd_server.h.

ChangeCb BFD::Server::Event::cb

Definition at line 126 of file bfd_server.h.

SessionConfig BFD::Server::Event::config

Definition at line 125 of file bfd_server.h.

SessionKey BFD::Server::Event::key

Definition at line 124 of file bfd_server.h.

boost::asio::ip::udp::endpoint BFD::Server::Event::local_endpoint

Definition at line 127 of file bfd_server.h.

const boost::asio::const_buffer BFD::Server::Event::recv_buffer

Definition at line 130 of file bfd_server.h.

boost::asio::ip::udp::endpoint BFD::Server::Event::remote_endpoint

Definition at line 128 of file bfd_server.h.

const SessionIndex BFD::Server::Event::session_index

Definition at line 129 of file bfd_server.h.

EventType BFD::Server::Event::type

Definition at line 123 of file bfd_server.h.


The documentation for this struct was generated from the following file: