OnixS MX HSVF Market Data Handler for C++  1.9.2.0
Public Member Functions | Protected Attributes
Bulletins Class Reference

Bulletins will be sent throughout the trading day. More...

List of all members.

Public Member Functions

 Bulletins (const Bulletins &)
 Copy constructor.
const Bulletinsoperator= (const Bulletins &rhs)
 Assignment operator.
 ~Bulletins ()
 Destructor.
const HighResolutionTimereceivingTime () const
 Returns high-resolution time when message was received.
MessageType::Enum type () const
 Message type in therm of MessageType enumeration (see Enums.h).
const MessageHeaderheader () const
 Access to the message header.
std::string toString () const
 String representation.
BulletinType::Enum bulletinType () const
 Type of the bulletin.
const char * bulletinContents () const
 Bulletin content: 79 or 49 characters in dependency on bulletinType().
const char * bulletinSymbol () const
 The method is available when bulletinType() == BulletinType::Special only.
bool continueMarker () const
 Marks that the bulletin continues in next record.

Protected Attributes

Implementation * impl

Detailed Description

Bulletins will be sent throughout the trading day.

More than one message will be used if the bulletin is longer than 79 characters. The continuation marker indicates that the bulletin continues to the next record. When a Trading instrument has been halted by the Bourse de Montreal Inc., a Bulletin Message explaining the reason for the halt will be transmitted. When the trading instrument is reinstated, another Bulletin Message explaining the news that accompanied the reinstatement will be transmitted. All records that make up a particular bulletin will be sent out together. No other message will be interspersed among the records that make up a complete bulletin.


Member Function Documentation

const char* bulletinSymbol ( ) const

The method is available when bulletinType() == BulletinType::Special only.

Otherwise it throws runtime exception of InvalidDataException type.

BulletinType::Enum bulletinType ( ) const

Type of the bulletin.

The type affects on accessibility of 'bulletinSymbol' member.

const HighResolutionTime& receivingTime ( ) const [virtual]

Returns high-resolution time when message was received.

If the Handler is executed in live mode, returned value represents time when message was obtained from the network.

Implements Message.

std::string toString ( ) const [virtual]

String representation.

Return value exposes parsing errors as long as those present in source message data.

Implements Message.

MessageType::Enum type ( ) const [virtual]

Message type in therm of MessageType enumeration (see Enums.h).

Always has the same value: MessageType::Bulletins. The same value is accessible through header().type() call.

Implements Message.