ChannelOpenPolicy Class Reference

#include <policies.h>

List of all members.

Public Member Functions

 ChannelOpenPolicy ()
 ChannelOpenPolicy (ChannelFlushSendBufferPolicyKind f, ChannelWhenToFlushSendBufferPolicyKind w, double t)
 ~ChannelOpenPolicy ()
void flushSendBufferNow ()
ChannelFlushSendBufferPolicyKind getFlushSendBufferKind () const
ChannelWhenToFlushSendBufferPolicyKind getWhenToFlushSendBuffer () const
double getTimeout () const
double getDefaultTimeout () const
void setFlushSendBufferKind (ChannelFlushSendBufferPolicyKind f)
void setWhenToFlushSendBuffer (ChannelWhenToFlushSendBufferPolicyKind w)
double setTimeout (double t)
double setDefaultTimeout (double t)
double setTimeoutToDefault ()
void setPolicy (ChannelWhenToFlushSendBufferPolicyKind w, ChannelFlushSendBufferPolicyKind f, double t)

Private Attributes

ChannelWhenToFlushSendBufferPolicyKind whenKind
ChannelFlushSendBufferPolicyKind flushKind
double timeout
double defaultTimeout

Detailed Description

Define Policy to open/close/monitor channels one-by-one or to accumulate messages for later dispatch


Constructor & Destructor Documentation

ChannelOpenPolicy::ChannelOpenPolicy (  )  [inline]
ChannelOpenPolicy::ChannelOpenPolicy ( ChannelFlushSendBufferPolicyKind  f,
ChannelWhenToFlushSendBufferPolicyKind  w,
double  t 
) [inline]
ChannelOpenPolicy::~ChannelOpenPolicy (  )  [inline]

Member Function Documentation

void ChannelOpenPolicy::flushSendBufferNow (  )  [inline]
double ChannelOpenPolicy::getDefaultTimeout (  )  const [inline]
ChannelFlushSendBufferPolicyKind ChannelOpenPolicy::getFlushSendBufferKind (  )  const [inline]

References flushKind.

double ChannelOpenPolicy::getTimeout (  )  const [inline]
ChannelWhenToFlushSendBufferPolicyKind ChannelOpenPolicy::getWhenToFlushSendBuffer (  )  const [inline]
double ChannelOpenPolicy::setDefaultTimeout ( double  t  )  [inline]
void ChannelOpenPolicy::setFlushSendBufferKind ( ChannelFlushSendBufferPolicyKind  f  )  [inline]
void ChannelOpenPolicy::setPolicy ( ChannelWhenToFlushSendBufferPolicyKind  w,
ChannelFlushSendBufferPolicyKind  f,
double  t 
) [inline]
double ChannelOpenPolicy::setTimeout ( double  t  )  [inline]
double ChannelOpenPolicy::setTimeoutToDefault (  )  [inline]
void ChannelOpenPolicy::setWhenToFlushSendBuffer ( ChannelWhenToFlushSendBufferPolicyKind  w  )  [inline]

Member Data Documentation

double ChannelOpenPolicy::timeout [private]

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

Generated on 3 May 2017 for CAFE by  doxygen 1.6.1