Bulletins will be sent throughout the trading day. More...
Public Member Functions | |
Bulletins (const Bulletins &) | |
Copy constructor. | |
const Bulletins & | operator= (const Bulletins &rhs) |
Assignment operator. | |
~Bulletins () | |
Destructor. | |
const HighResolutionTime & | receivingTime () const |
Returns high-resolution time when message was received. | |
MessageType::Enum | type () const |
Message type in therm of MessageType enumeration (see Enums.h). | |
const MessageHeader & | header () 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 |
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.
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] |
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.