OpenSDN source code
xmsm::Connect Struct Reference
Inheritance diagram for xmsm::Connect:
Collaboration diagram for xmsm::Connect:

Public Types

typedef mpl::list< sc::custom_reaction< EvAdminDown >, sc::custom_reaction< EvConnectTimerExpired >, sc::custom_reaction< EvTcpConnected >, sc::custom_reaction< EvTcpConnectFail >, sc::custom_reaction< EvTcpClose >, sc::custom_reaction< EvStop > > reactions
 

Public Member Functions

 Connect (my_context ctx)
 
 ~Connect ()
 
sc::result react (const EvConnectTimerExpired &event)
 
sc::result react (const EvTcpConnected &event)
 
sc::result react (const EvTcpConnectFail &event)
 
sc::result react (const EvTcpClose &event)
 
sc::result react (const EvStop &event)
 
sc::result react (const EvAdminDown &event)
 
void StartSession (XmppStateMachine *state_machine)
 
void CloseSession (XmppStateMachine *state_machine)
 

Static Public Attributes

static const int kConnectTimeout = 60
 

Detailed Description

Definition at line 434 of file xmpp_state_machine.cc.

Member Typedef Documentation

◆ reactions

typedef mpl::list< sc::custom_reaction<EvAdminDown>, sc::custom_reaction<EvConnectTimerExpired>, sc::custom_reaction<EvTcpConnected>, sc::custom_reaction<EvTcpConnectFail>, sc::custom_reaction<EvTcpClose>, sc::custom_reaction<EvStop> > xmsm::Connect::reactions

Definition at line 442 of file xmpp_state_machine.cc.

Constructor & Destructor Documentation

◆ Connect()

xmsm::Connect::Connect ( my_context  ctx)
inline

Definition at line 446 of file xmpp_state_machine.cc.

Here is the call graph for this function:

◆ ~Connect()

xmsm::Connect::~Connect ( )
inline

Definition at line 460 of file xmpp_state_machine.cc.

Here is the call graph for this function:

Member Function Documentation

◆ CloseSession()

void xmsm::Connect::CloseSession ( XmppStateMachine state_machine)
inline

Definition at line 568 of file xmpp_state_machine.cc.

Here is the call graph for this function:

◆ react() [1/6]

sc::result xmsm::Connect::react ( const EvAdminDown event)
inline

Definition at line 541 of file xmpp_state_machine.cc.

Here is the call graph for this function:

◆ react() [2/6]

sc::result xmsm::Connect::react ( const EvConnectTimerExpired event)
inline

Definition at line 465 of file xmpp_state_machine.cc.

Here is the call graph for this function:

◆ react() [3/6]

sc::result xmsm::Connect::react ( const EvStop event)
inline

Definition at line 530 of file xmpp_state_machine.cc.

Here is the call graph for this function:

◆ react() [4/6]

sc::result xmsm::Connect::react ( const EvTcpClose event)
inline

Definition at line 518 of file xmpp_state_machine.cc.

Here is the call graph for this function:

◆ react() [5/6]

sc::result xmsm::Connect::react ( const EvTcpConnected event)
inline

Definition at line 480 of file xmpp_state_machine.cc.

Here is the call graph for this function:

◆ react() [6/6]

sc::result xmsm::Connect::react ( const EvTcpConnectFail event)
inline

Definition at line 506 of file xmpp_state_machine.cc.

Here is the call graph for this function:

◆ StartSession()

void xmsm::Connect::StartSession ( XmppStateMachine state_machine)
inline

Definition at line 552 of file xmpp_state_machine.cc.

Here is the call graph for this function:

Member Data Documentation

◆ kConnectTimeout

const int xmsm::Connect::kConnectTimeout = 60
static

Definition at line 444 of file xmpp_state_machine.cc.


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