Loading...
Searching...
No Matches
DataDistributionManagerEnums.h File Reference

DataDistributionManager library. More...

Go to the source code of this file.

Typedefs

typedef enum DDM_GENERAL_PARAMETER DDM_GENERAL_PARAMETER
 
typedef enum DDM_CHANNEL_DIRECTION DDM_CHANNEL_DIRECTION
 
typedef enum DDM_LOG_LEVEL DDM_LOG_LEVEL
 
typedef enum DDM_INSTANCE_STATE DDM_INSTANCE_STATE
 
typedef enum DDM_CLUSTEREVENT DDM_CLUSTEREVENT
 
typedef enum DDM_SEEKCONTEXT DDM_SEEKCONTEXT
 
typedef enum DDM_SEEKKIND DDM_SEEKKIND
 

Enumerations

enum class  DDM_GENERAL_PARAMETER {
  MAX_MESSAGE_SIZE = 0x1 , SERVER_LOST_TIMEOUT , CREATE_CHANNEL_TIMEOUT , CHANNEL_SEEK_TIMEOUT ,
  FIRST_CONNECTION_TIMEOUT , KEEP_ALIVE_TIMEOUT , CONSUMER_TIMEOUT , PRODUCER_TIMEOUT
}
 DDM_GENERAL_PARAMETER type. More...
 
enum class  DDM_CHANNEL_DIRECTION { TRANSMITTER = 0x1 , RECEIVER = 0x2 , ALL = TRANSMITTER | RECEIVER }
 DDM_CHANNEL_DIRECTION type. More...
 
enum class  DDM_LOG_LEVEL {
  FATAL_LEVEL = 0x1 , ERROR_LEVEL = 0x2 , WARNING_LEVEL = 0x4 , INFO_LEVEL = 0x8 ,
  DEBUG_LEVEL = 0x10
}
 DDM_LOG_LEVEL type. More...
 
enum class  DDM_INSTANCE_STATE {
  UNKNOWN , PRIMARY , FOLLOWER , ALONE ,
  STOPPING , GOING_ALONE , OBSERVER , COMMAND
}
 DDM_INSTANCE_STATE type. More...
 
enum class  DDM_CLUSTEREVENT { NOEVENT = 0x1 , ADDSERVER = 0x2 , LOSTSERVER = 0x4 , REMOVESERVER = 0x8 }
 DDM_CLUSTEREVENT type. More...
 
enum class  DDM_SEEKCONTEXT { OFFSET = 0x1 , TIMESTAMP = 0x2 }
 DDM_SEEKCONTEXT type. More...
 
enum class  DDM_SEEKKIND { ABSOLUTE = 0x1 , RELATIVE = 0x2 }
 DDM_SEEKKIND type. More...
 

Detailed Description

DataDistributionManager library.

DataDistributionManagerEnums.h contains the public enums for DataDistributionManager. The API is documented in this file as comments prefixing the class, function, type, enum, define, etc. The C++ interface is STD C++ '03 compliant and adheres to the Google C++ Style Guide.

Typedef Documentation

◆ DDM_CHANNEL_DIRECTION

◆ DDM_CLUSTEREVENT

◆ DDM_GENERAL_PARAMETER

◆ DDM_INSTANCE_STATE

◆ DDM_LOG_LEVEL

◆ DDM_SEEKCONTEXT

◆ DDM_SEEKKIND

typedef enum DDM_SEEKKIND DDM_SEEKKIND

Enumeration Type Documentation

◆ DDM_CHANNEL_DIRECTION

enum class DDM_CHANNEL_DIRECTION
strong

DDM_CHANNEL_DIRECTION type.

Direction of the channel

See also
IDataDistributionChannelBase::CreateChannel()
Enumerator
TRANSMITTER 

Transmitter

RECEIVER 

Receiver

ALL 

Both

◆ DDM_CLUSTEREVENT

enum class DDM_CLUSTEREVENT
strong

DDM_CLUSTEREVENT type.

Cluster events

See also
dataDistributionOnClusterStateChange
IDataDistributionMastershipCallback::OnClusterStateChange()
Enumerator
NOEVENT 

No event

ADDSERVER 

A server was added in the cluster

LOSTSERVER 

A server was lost in the cluster

REMOVESERVER 

A server was removed from the cluster

◆ DDM_GENERAL_PARAMETER

enum class DDM_GENERAL_PARAMETER
strong

DDM_GENERAL_PARAMETER type.

General configuration parameters

See also
IDataDistributionChannelBase::SetParameter()
IDataDistributionChannelBase::GetParameter()
Enumerator
MAX_MESSAGE_SIZE 

Max message size

SERVER_LOST_TIMEOUT 

Server lost timeout

CREATE_CHANNEL_TIMEOUT 

Create channel timeout

CHANNEL_SEEK_TIMEOUT 

Seek channel timeout

FIRST_CONNECTION_TIMEOUT 

Timeout on first connection

KEEP_ALIVE_TIMEOUT 

Timeout of Keep Alive

CONSUMER_TIMEOUT 

Consumer timeout

PRODUCER_TIMEOUT 

Producer timeout

◆ DDM_INSTANCE_STATE

◆ DDM_LOG_LEVEL

enum class DDM_LOG_LEVEL
strong

DDM_LOG_LEVEL type.

Log levels

See also
dataDistributionLoggingCb
IDataDistributionLog::Log()
IDataDistributionCallback:OnLogging
Enumerator
FATAL_LEVEL 

Fatal

ERROR_LEVEL 

Error

WARNING_LEVEL 

Warning

INFO_LEVEL 

Info

DEBUG_LEVEL 

Debug

◆ DDM_SEEKCONTEXT

enum class DDM_SEEKCONTEXT
strong

DDM_SEEKCONTEXT type.

Seek context

See also
IDataDistributionChannelBase::SeekChannel()
Enumerator
OFFSET 

Seek on offset

TIMESTAMP 

Seek on timestamp

◆ DDM_SEEKKIND

enum class DDM_SEEKKIND
strong

DDM_SEEKKIND type.

Seek kind

See also
IDataDistributionChannelBase::SeekChannel()
Enumerator
ABSOLUTE 

Absolute seek

RELATIVE 

Relative seek