Hazelcast C++ Client
Hazelcast C++ Client Library
hazelcast::client::lifecycle_event Class Reference

Event to be fired when lifecycle states are changed. More...

#include <lifecycle_event.h>

Public Types

enum  lifecycle_state {
  STARTING , STARTED , SHUTTING_DOWN , SHUTDOWN ,
  CLIENT_CONNECTED , CLIENT_DISCONNECTED
}
 State enum.
 

Public Member Functions

 lifecycle_event (lifecycle_state state)
 Constructor.
 
lifecycle_state get_state () const
 

Detailed Description

Event to be fired when lifecycle states are changed.

 enum LifeCycleState {
     STARTING,
     STARTED,
     SHUTTING_DOWN,
     SHUTDOWN,
     CLIENT_CONNECTED,
     CLIENT_DISCONNECTED
 };
See also
HazelcastInstance::getLifecycleService
LifecycleService::addlifecycle_listener

Definition at line 37 of file lifecycle_event.h.

Member Function Documentation

◆ get_state()

lifecycle_event::lifecycle_state hazelcast::client::lifecycle_event::get_state ( ) const
Returns
State;

Definition at line 91 of file spi.cpp.

91  {
92  return state_;
93  }

The documentation for this class was generated from the following files: