#include <bulkDataNTConfiguration.h>
Public Member Functions | |
ReceiverFlowConfiguration () | |
void | setDDSReceiverFlowQoS (char *cfg) |
void | setDDSReceiverFlowQoS (char *profileName, char *cfg) |
double | getCbReceiveProcessTimeout () const |
void | setCbReceiveProcessTimeout (double cbReceiveProcessTimeout) |
double | getCbReceiveAvgProcessTimeout () const |
void | setCbReceiveAvgProcessTimeout (double cbReceiveAvgProcessTimeout) |
bool | isEnableMulticast () const |
void | setEnableMulticast (bool enableMulticast) |
std::string | getMulticastAddress () const |
void | setMulticastAddress (std::string multicastAddress) |
unsigned short | getUnicastPort () const |
void | setUnicastPort (unsigned short) |
Static Public Attributes | |
static const char *const | DEFAULT_MULTICAST_ADDRESS |
default multicast address for receiver flow | |
static double | DEFAULT_CBRECEIVE_PROCESS_TIMEOUT |
default cbReceiveProcessTimeout value | |
static double | DEFAULT_CBRECEIVE_AVG_PROCESS_TIMEOUT |
default cbReceiveAvgProcessTimeout value | |
static bool | DEFAULT_ENABLE_MULTICAST |
static unsigned short | DEFAULT_UNICAST_PORT |
default enableMulticast value | |
Protected Attributes | |
double | cbReceiveProcessTimeout |
default unicvast port; 0 means that DDS will choose the port | |
double | cbReceiveAvgProcessTimeout |
how long should max take execution of cbReceive | |
bool | enableMulticast |
how long should in avergae take execution of cbReceive | |
std::string | multicastAddress |
is multicast enabled, otherwise unicast | |
unsigned short | unicastPort |
multicast address, used only if multicast is anbel (enableMulticast==true) |
A Receiver flow configuration
AcsBulkdata::ReceiverFlowConfiguration::ReceiverFlowConfiguration | ( | ) |
double AcsBulkdata::ReceiverFlowConfiguration::getCbReceiveAvgProcessTimeout | ( | ) | const |
double AcsBulkdata::ReceiverFlowConfiguration::getCbReceiveProcessTimeout | ( | ) | const |
std::string AcsBulkdata::ReceiverFlowConfiguration::getMulticastAddress | ( | ) | const |
unsigned short AcsBulkdata::ReceiverFlowConfiguration::getUnicastPort | ( | ) | const |
bool AcsBulkdata::ReceiverFlowConfiguration::isEnableMulticast | ( | ) | const |
void AcsBulkdata::ReceiverFlowConfiguration::setCbReceiveAvgProcessTimeout | ( | double | cbReceiveAvgProcessTimeout | ) |
void AcsBulkdata::ReceiverFlowConfiguration::setCbReceiveProcessTimeout | ( | double | cbReceiveProcessTimeout | ) |
void AcsBulkdata::ReceiverFlowConfiguration::setDDSReceiverFlowQoS | ( | char * | profileName, | |
char * | cfg | |||
) |
Sets DDS QoS directly using XML + profile name (if we need to have it unique)
profileName | ||
cfg |
void AcsBulkdata::ReceiverFlowConfiguration::setDDSReceiverFlowQoS | ( | char * | cfg | ) |
Sets DDS QoS directly using XML
cfg | (same value that can be given to DDSReceiverFlowQoS elemtn in CDB |
void AcsBulkdata::ReceiverFlowConfiguration::setEnableMulticast | ( | bool | enableMulticast | ) |
void AcsBulkdata::ReceiverFlowConfiguration::setMulticastAddress | ( | std::string | multicastAddress | ) |
void AcsBulkdata::ReceiverFlowConfiguration::setUnicastPort | ( | unsigned | short | ) |
double AcsBulkdata::ReceiverFlowConfiguration::cbReceiveAvgProcessTimeout [protected] |
how long should max take execution of cbReceive
double AcsBulkdata::ReceiverFlowConfiguration::cbReceiveProcessTimeout [protected] |
default unicvast port; 0 means that DDS will choose the port
default cbReceiveAvgProcessTimeout value
default cbReceiveProcessTimeout value
const char* const AcsBulkdata::ReceiverFlowConfiguration::DEFAULT_MULTICAST_ADDRESS [static] |
default multicast address for receiver flow
unsigned short AcsBulkdata::ReceiverFlowConfiguration::DEFAULT_UNICAST_PORT [static] |
default enableMulticast value
Referenced by AcsBulkdata::BulkDataNTReceiverStreamBase::BulkDataNTReceiverStreamBase(), and AcsBulkdata::BulkDataNTReceiverStreamBase::getNextFlowUnicastPort().
bool AcsBulkdata::ReceiverFlowConfiguration::enableMulticast [protected] |
how long should in avergae take execution of cbReceive
std::string AcsBulkdata::ReceiverFlowConfiguration::multicastAddress [protected] |
is multicast enabled, otherwise unicast
unsigned short AcsBulkdata::ReceiverFlowConfiguration::unicastPort [protected] |
multicast address, used only if multicast is anbel (enableMulticast==true)