OnixS C++ SGX Titan OUCH Trading Handler
1.2.0
API documentation
Home
Contents
Namespaces
Classes
Files
File List
File Members
include
OnixS
SgxTitan
Trading
OUCH
OutgoingMessage.h
Go to the documentation of this file.
1
// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2
//
3
// This software owned by Onix Solutions Limited [OnixS] and is
4
// protected by copyright law and international copyright treaties.
5
//
6
// Access to and use of the software is governed by the terms of the applicable
7
// OnixS Software Services Agreement (the Agreement) and Customer end user license
8
// agreements granting a non-assignable, non-transferable and non-exclusive license
9
// to use the software for it's own data processing purposes under the terms defined
10
// in the Agreement.
11
//
12
// Except as otherwise granted within the terms of the Agreement, copying or
13
// reproduction of any part of this source code or associated reference material
14
// to any other location for further reproduction or redistribution, and any
15
// amendments to this copyright notice, are expressly prohibited.
16
//
17
// Any reproduction or redistribution for sale or hiring of the Software not in
18
// accordance with the terms of the Agreement is a violation of copyright law.
19
//
20
#pragma once
21
22
#include <
OnixS/SgxTitan/Trading/OUCH/ABI.h
>
23
#include <
OnixS/SgxTitan/Trading/OUCH/Defines.h
>
24
#include <
OnixS/SgxTitan/Trading/OUCH/Memory.h
>
25
#include <
OnixS/SgxTitan/Trading/OUCH/String.h
>
26
#include <
OnixS/SgxTitan/Trading/OUCH/Enumerations.h
>
27
#include <
OnixS/SgxTitan/Trading/OUCH/MutableBinaryMessage.h
>
28
#include <
OnixS/SgxTitan/Trading/OUCH/FieldAccessor.h
>
29
30
31
ONIXS_SGXTITAN_OUCH_NAMESPACE_BEGIN
32
33
class
ONIXS_SGXTITAN_OUCH_API
OutgoingMessage
34
:
public
MutableBinaryMessage
<BigEndianConverter>
35
{
36
public
:
37
///
38
OutgoingMessage
(
39
void
* data,
40
MessageSize
size)
41
ONIXS_SGX_OUCH_NOTHROW
42
:
MutableBinaryMessage<BigEndianConverter>
(data, size)
43
{
44
}
45
46
/// Type
47
OutboundMessageTypes::Enum
type
() const
48
ONIXS_SGX_OUCH_NOTHROW
49
{
50
return
enumeration<OutboundMessageTypes>(0);
51
}
52
};
53
54
ONIXS_SGXTITAN_OUCH_NAMESPACE_END
Memory.h
OnixS::SgxTitan::Trading::Ouch::MessageSize
Binary2 MessageSize
Aliases message length type.
Definition:
Defines.h:47
Defines.h
OnixS::SgxTitan::Trading::Ouch::OutgoingMessage
Definition:
OutgoingMessage.h:33
ABI.h
Enumerations.h
OnixS::SgxTitan::Trading::Ouch::OutgoingMessage::type
OutboundMessageTypes::Enum type() const
Type.
Definition:
OutgoingMessage.h:47
OnixS::SgxTitan::Trading::Ouch::OutboundMessageTypes::Enum
Enum
Definition:
Enumerations.h:35
MutableBinaryMessage.h
OnixS::SgxTitan::Trading::Ouch::MutableBinaryMessage
Encapsulates services for manipulating little endian encoded messages.
Definition:
MutableBinaryMessage.h:96
FieldAccessor.h
ONIXS_SGXTITAN_OUCH_NAMESPACE_END
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_END
Definition:
Bootstrap.h:31
ONIXS_SGXTITAN_OUCH_NAMESPACE_BEGIN
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_BEGIN
Definition:
Bootstrap.h:27
OnixS::SgxTitan::Trading::Ouch::OutgoingMessage::OutgoingMessage
OutgoingMessage(void *data, MessageSize size)
Definition:
OutgoingMessage.h:38
String.h