EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
thomsonreuters::ema::access::CosCommon Class Reference

CosCommon encapsulates common member of the ClassOfService class. More...

Public Member Functions

Constructor
 CosCommon ()
 
 CosCommon (const CosCommon &other)
 
Destructor
virtual ~CosCommon ()
 
Operations
CosCommonoperator= (const CosCommon &other)
 
CosCommonclear ()
 
CosCommonmaxMsgSize (UInt64 maxMsgSize=6144)
 
Accessors
UInt64 getMaxMsgSize () const
 

Detailed Description

CosCommon describes common options related to the exchange of messages.

See Also
ClassOfService

Definition at line 31 of file TunnelStreamRequest.h.

Constructor & Destructor Documentation

thomsonreuters::ema::access::CosCommon::CosCommon ( )

Default constructor

Remarks
specifies default maximum message size as 6144
thomsonreuters::ema::access::CosCommon::CosCommon ( const CosCommon other)

Copy constructor

Parameters
[in]otherspecifies CosCommon object to copy from
virtual thomsonreuters::ema::access::CosCommon::~CosCommon ( )
virtual

Destructor

Member Function Documentation

CosCommon& thomsonreuters::ema::access::CosCommon::clear ( )

Clears object by setting defaults

Returns
reference to this object
UInt64 thomsonreuters::ema::access::CosCommon::getMaxMsgSize ( ) const

Returns maximum message size assigned by provider accepting the tunnel stream request

Returns
maximum message size
CosCommon& thomsonreuters::ema::access::CosCommon::maxMsgSize ( UInt64  maxMsgSize = 6144)

Specifies maximum size of messages exchanged on the tunnel stream.

Parameters
[in]maxSizespecifies maximum message size (valid range 1 - 2,147,483,647)
Returns
reference to this object
Remarks
this value is set by providers while accepting a tunnel stream
Exceptions
OmmOutOfRangeExceptionif passed in value is out of valid range
CosCommon& thomsonreuters::ema::access::CosCommon::operator= ( const CosCommon other)

Assignment operator

Parameters
[in]otherspecifies CosCommon object to copy from
Returns
reference to this object