OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
xmpp_state_machine.cc File Reference
#include "xmpp/xmpp_state_machine.h"
#include <typeinfo>
#include <boost/bind.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/statechart/custom_reaction.hpp>
#include <boost/statechart/event.hpp>
#include <boost/statechart/simple_state.hpp>
#include <boost/statechart/state.hpp>
#include <boost/statechart/state_machine.hpp>
#include <boost/statechart/transition.hpp>
#include "base/logging.h"
#include "base/task_annotations.h"
#include "io/event_manager.h"
#include "io/ssl_session.h"
#include "sandesh/sandesh_trace.h"
#include "sandesh/common/vns_types.h"
#include "sandesh/common/vns_constants.h"
#include "sandesh/xmpp_client_server_sandesh_types.h"
#include "sandesh/xmpp_peer_info_types.h"
#include "sandesh/xmpp_state_machine_sandesh_types.h"
#include "sandesh/xmpp_trace_sandesh_types.h"
#include "xmpp/xmpp_connection.h"
#include "xmpp/xmpp_factory.h"
#include "xmpp/xmpp_log.h"
#include "xmpp/xmpp_server.h"
#include "xmpp/xmpp_session.h"
Include dependency graph for xmpp_state_machine.cc:

Go to the source code of this file.

Classes

struct  xmsm::EvStart
 
struct  xmsm::EvStop
 
struct  xmsm::EvAdminDown
 
struct  xmsm::EvConnectTimerExpired
 
struct  xmsm::EvOpenTimerExpired
 
struct  xmsm::EvHoldTimerExpired
 
struct  xmsm::EvTcpConnected
 
struct  xmsm::EvTcpConnectFail
 
struct  xmsm::EvTcpPassiveOpen
 
struct  xmsm::EvTcpClose
 
struct  xmsm::EvTcpDeleteSession
 
struct  xmsm::EvXmppMessage
 
struct  xmsm::EvXmppOpen
 
struct  xmsm::EvStreamFeatureRequest
 
struct  xmsm::EvStartTls
 
struct  xmsm::EvTlsProceed
 
struct  xmsm::EvTlsHandShakeSuccess
 
struct  xmsm::EvTlsHandShakeFailure
 
struct  xmsm::EvXmppKeepalive
 
struct  xmsm::EvXmppMessageStanza
 
struct  xmsm::EvXmppIqStanza
 
struct  xmsm::EvXmppOpenReceive
 
struct  xmsm::Idle
 
struct  xmsm::Active
 
struct  xmsm::Connect
 
struct  xmsm::OpenSent
 
struct  xmsm::OpenConfirm
 
struct  xmsm::XmppStreamEstablished
 

Namespaces

 xmsm
 

Macros

#define SM_LOG(_sm, _msg)
 

Variables

static const char * state_names []
 

Macro Definition Documentation

#define SM_LOG (   _sm,
  _msg 
)
Value:
do { \
XMPP_UTDEBUG(XmppStateMachineDebug, \
(_sm)->connection() ? (_sm)->connection()->ToUVEKey() : "", \
XMPP_PEER_DIR_NA, (_sm)->ChannelType(), _msg); \
} while (false)
#define XMPP_UTDEBUG(obj,...)
Definition: xmpp_log.h:67
#define XMPP_PEER_DIR_NA
Definition: xmpp_log.h:16

Definition at line 39 of file xmpp_state_machine.cc.

Variable Documentation

const char* state_names[]
static
Initial value:
= {
"Idle",
"Active",
"Connect",
"OpenSent",
"OpenConfirm",
"Established" }

Definition at line 1558 of file xmpp_state_machine.cc.