OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ovsdb_client_session.h File Reference
#include <assert.h>
#include <base/timer.h>
#include <cmn/agent_cmn.h>
#include <cmn/agent.h>
#include <io/tcp_session.h>
Include dependency graph for ovsdb_client_session.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OVSDB::OvsdbClientSession
 
struct  OVSDB::OvsdbClientSession::OvsdbSessionEvent
 

Namespaces

 OVSDB
 

Macros

#define OVSDB_SM_TRACE(obj,...)
 
#define OVSDB_SESSION_TRACE(obj, session,...)
 

Macro Definition Documentation

#define OVSDB_SESSION_TRACE (   obj,
  session,
  ... 
)
Value:
do {\
Ovsdb##obj::TraceMsg(OvsdbSMTraceBuf, __FILE__, __LINE__,\
"Session " + session->remote_ip().to_string() +\
":" + integerToString(session->remote_port()) +\
" - " + __VA_ARGS__);\
} while (false)
static const std::string integerToString(const NumberType &num)
Definition: string_util.h:19
SandeshTraceBufferPtr OvsdbSMTraceBuf

Definition at line 84 of file ovsdb_client_session.h.

#define OVSDB_SM_TRACE (   obj,
  ... 
)
Value:
do {\
Ovsdb##obj::TraceMsg(OvsdbSMTraceBuf, __FILE__, __LINE__, __VA_ARGS__);\
} while (false)
SandeshTraceBufferPtr OvsdbSMTraceBuf

Definition at line 79 of file ovsdb_client_session.h.