#include <bgp_session_manager.h>
|
| | BgpSessionManager (EventManager *evm, BgpServer *server) |
| |
| virtual | ~BgpSessionManager () |
| |
| virtual TcpSession * | CreateSession () |
| |
| virtual bool | Initialize (unsigned short port) |
| |
| virtual bool | Initialize (unsigned short port, const IpAddress &ip) |
| |
| void | Shutdown () |
| |
| void | Terminate () |
| |
| bool | MayDelete () const |
| |
| void | EnqueueWriteReady (BgpSession *session) |
| |
| BgpServer * | server () |
| |
| | TcpServer (EventManager *evm) |
| |
| virtual | ~TcpServer () |
| |
| virtual bool | Initialize (unsigned short port, const IpAddress &host_ip, int intf_id=-1) |
| |
| bool | InitializeInternal (boost::asio::ip::tcp::endpoint localaddr) |
| |
| const std::string | ToString () const |
| |
| void | SetAcceptor () |
| |
| void | ResetAcceptor () |
| |
| void | Shutdown () |
| |
| void | ClearSessions () |
| |
| void | UpdateSessionsDscp (uint8_t dscp) |
| |
| virtual void | DeleteSession (TcpSession *session) |
| |
| virtual void | Connect (TcpSession *session, Endpoint remote) |
| |
| virtual bool | DisableSandeshLogMessages () const |
| |
| int | GetPort () const |
| |
| const io::SocketStats & | GetSocketStats () const |
| |
| size_t | GetSessionCount () const |
| |
| EventManager * | event_manager () |
| |
| bool | HasSessionReadAvailable () const |
| |
| bool | HasSessions () const |
| |
| TcpSession * | GetSession (Endpoint remote) |
| |
| void | WaitForEmpty () |
| |
| void | GetRxSocketStats (SocketIOStats *socket_stats) const |
| |
| void | GetTxSocketStats (SocketIOStats *socket_stats) const |
| |
| void | GetRxSocketStats (SocketIOStats &socket_stats) const |
| |
| void | GetTxSocketStats (SocketIOStats &socket_stats) const |
| |
| int | SetMd5SocketOption (NativeSocketType fd, uint32_t peer_ip, const std::string &md5_password) |
| |
| int | SetListenSocketMd5Option (uint32_t peer_ip, const std::string &md5_password) |
| |
| int | SetDscpSocketOption (NativeSocketType fd, uint8_t value) |
| |
| uint8_t | GetDscpValue (NativeSocketType fd) const |
| |
| int | SetListenSocketDscp (uint8_t value) |
| |
| int | SetSocketOptions (const SandeshConfig &sandesh_config) |
| |
| int | SetKeepAliveSocketOption (int fd, const SandeshConfig &sandesh_config) |
| |
Definition at line 20 of file bgp_session_manager.h.
◆ BgpSessionManager()
◆ ~BgpSessionManager()
| BgpSessionManager::~BgpSessionManager |
( |
| ) |
|
|
virtual |
◆ AcceptSession()
| bool BgpSessionManager::AcceptSession |
( |
TcpSession * |
session | ) |
|
|
protectedvirtual |
◆ AllocSession()
◆ CreateSession()
◆ DISALLOW_COPY_AND_ASSIGN()
◆ EnqueueWriteReady()
| void BgpSessionManager::EnqueueWriteReady |
( |
BgpSession * |
session | ) |
|
◆ FindPeer()
◆ GetSessionQueueSize()
| size_t BgpSessionManager::GetSessionQueueSize |
( |
| ) |
const |
|
private |
◆ Initialize() [1/2]
| bool BgpSessionManager::Initialize |
( |
unsigned short |
port | ) |
|
|
virtual |
◆ Initialize() [2/2]
| bool BgpSessionManager::Initialize |
( |
unsigned short |
port, |
|
|
const IpAddress & |
ip |
|
) |
| |
|
virtual |
◆ MayDelete()
| bool BgpSessionManager::MayDelete |
( |
| ) |
const |
◆ ProcessSession()
| bool BgpSessionManager::ProcessSession |
( |
BgpSession * |
session | ) |
|
|
private |
◆ ProcessWriteReady()
| bool BgpSessionManager::ProcessWriteReady |
( |
TcpSessionPtr |
tcp_session | ) |
|
|
private |
◆ server()
◆ SetSessionQueueDisable()
| void BgpSessionManager::SetSessionQueueDisable |
( |
bool |
disabled | ) |
|
|
private |
◆ Shutdown()
| void BgpSessionManager::Shutdown |
( |
| ) |
|
◆ Terminate()
| void BgpSessionManager::Terminate |
( |
| ) |
|
◆ WorkQueueExitCallback()
| void BgpSessionManager::WorkQueueExitCallback |
( |
bool |
done | ) |
|
|
private |
◆ BgpServerUnitTest
| friend class BgpServerUnitTest |
|
friend |
◆ server_
◆ session_ip_
◆ session_queue_
◆ write_ready_queue_
The documentation for this class was generated from the following files: