OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
API documentation
Loading...
Searching...
No Matches
DebugResponse.h
Go to the documentation of this file.
1
6/*
7 * Copyright (c) Onix Solutions Limited. All rights reserved.
8 *
9 * This software owned by Onix Solutions Limited and is protected by copyright law
10 * and international copyright treaties.
11 *
12 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
13 * Services Agreement (the Agreement) and Customer end user license agreements granting
14 * a non-assignable, non-transferable and non-exclusive license to use the software
15 * for it's own data processing purposes under the terms defined in the Agreement.
16 *
17 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
18 * of this source code or associated reference material to any other location for further reproduction
19 * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
20 *
21 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
22 * the terms of the Agreement is a violation of copyright law.
23 */
24
25#pragma once
26
27// Project specific headers
28#include "../Export.h"
29#include "../Types.h"
30
31// Standard headers
32#include <iosfwd>
33#include <string>
34
35namespace OnixS { namespace ICE { namespace iMpact { namespace MarketData {
36
38struct ONIXS_ICEMDH_EXPORT DebugResponse
39{
41 enum
42 {
44 };
45
49
51 std::string text;
52
55
57 DebugResponse(const char* data, std::size_t dataSize);
58
60 void deserialize(const char* data, std::size_t dataSize);
61
63 void reset();
64
66 std::string toString() const;
67};
68
70ONIXS_ICEMDH_EXPORT std::ostream& operator<<(std::ostream&, const DebugResponse&);
71
72}}}} // namespace OnixS::ICE::iMpact::MarketData
std::ostream & operator<<(std::ostream &, const Error &)
Make it printable to formatted C++ I/O streams.
This class represents the Debug Response Message.
DebugResponse(const char *data, std::size_t dataSize)
Initialize from raw message data.
std::string toString() const
Returns string representation.
std::string text
Debug text message from server.
void deserialize(const char *data, std::size_t dataSize)
Deserialize from raw data.
void reset()
Reset all fields to default values.