Class EcMasterInfo

Class Documentation

class EcMasterInfo

This class describes the Master information.

Public Functions

int GetOnlineSlaveCount()

Get the number of online slaves.

Get the number of online slaves.

Return the number of online slaves.

Remark

int GetOfflineSlaveCount()

Get the number of offline slaves.

Get the number of offline slaves.

Return the number of offline slaves.

Remark

int GetInaccessibleSlaveCount()

Get the number of inaccessible slaves.

Get the number of inaccessible slaves.

Return the number of inaccessible slaves.

Remark

Public Members

int id

Master ID.

EcStateMachine::T state

Current master state.

EcMasterMode::T mode

Current master mode.

unsigned int numOfSlaves

Number of slaves connecting to this master.

EcSlaveInfo slaves[constants::maxSlaves]

Each slave information.

EcMasterStatisticsInfo statisticsInfo

Statistics information.