OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
scm::Connect Struct Reference
Inheritance diagram for scm::Connect:
Collaboration diagram for scm::Connect:

Public Types

typedef mpl::list
< TransitToIdle< EvStop >
::reaction,
sc::custom_reaction
< EvConnectTimerExpired >
, sc::custom_reaction
< EvTcpConnected >
, sc::custom_reaction
< EvTcpConnectFail >
, sc::custom_reaction
< EvTcpClose >
, sc::custom_reaction
< EvCollectorUpdate >
, ReleaseSandesh
< EvSandeshSend >::reaction,
DeleteTcpSession
< EvTcpDeleteSession >
::reaction > 
reactions
 

Public Member Functions

 Connect (my_context ctx)
 
 ~Connect ()
 
sc::result react (const EvTcpConnectFail &event)
 
sc::result react (const EvConnectTimerExpired &event)
 
sc::result react (const EvTcpConnected &event)
 
sc::result react (const EvTcpClose &event)
 
sc::result react (const EvCollectorUpdate &event)
 
void StartSession (SandeshClientSMImpl *state_machine)
 
sc::result ToIdle (SandeshClientSMImpl *state_machine, const char *event_name)
 

Static Public Attributes

static const int kConnectTimeout = 60
 

Detailed Description

Definition at line 306 of file sandesh_client_sm.cc.

Member Typedef Documentation

typedef mpl::list< TransitToIdle<EvStop>::reaction, sc::custom_reaction<EvConnectTimerExpired>, sc::custom_reaction<EvTcpConnected>, sc::custom_reaction<EvTcpConnectFail>, sc::custom_reaction<EvTcpClose>, sc::custom_reaction<EvCollectorUpdate>, ReleaseSandesh<EvSandeshSend>::reaction, DeleteTcpSession<EvTcpDeleteSession>::reaction > scm::Connect::reactions

Definition at line 316 of file sandesh_client_sm.cc.

Constructor & Destructor Documentation

scm::Connect::Connect ( my_context  ctx)
inline

Definition at line 320 of file sandesh_client_sm.cc.

Here is the call graph for this function:

scm::Connect::~Connect ( )
inline

Definition at line 331 of file sandesh_client_sm.cc.

Here is the call graph for this function:

Member Function Documentation

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

Definition at line 336 of file sandesh_client_sm.cc.

Here is the call graph for this function:

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

Definition at line 344 of file sandesh_client_sm.cc.

Here is the call graph for this function:

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

Definition at line 351 of file sandesh_client_sm.cc.

Here is the call graph for this function:

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

Definition at line 366 of file sandesh_client_sm.cc.

Here is the call graph for this function:

sc::result scm::Connect::react ( const EvCollectorUpdate event)
inline

Definition at line 373 of file sandesh_client_sm.cc.

Here is the call graph for this function:

void scm::Connect::StartSession ( SandeshClientSMImpl state_machine)
inline

Definition at line 382 of file sandesh_client_sm.cc.

Here is the call graph for this function:

sc::result scm::Connect::ToIdle ( SandeshClientSMImpl state_machine,
const char *  event_name 
)
inline

Definition at line 394 of file sandesh_client_sm.cc.

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 318 of file sandesh_client_sm.cc.


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