FETPAPI
0.6.0.0
This project provides C++ classes which facilitate the developement of ETP1.2 clients and servers.
Loading...
Searching...
No Matches
fetpapi-dev
src
etp
protocolHandlers
StoreNotificationHandlers.h
1
/*-----------------------------------------------------------------------
2
Licensed to the Apache Software Foundation (ASF) under one
3
or more contributor license agreements. See the NOTICE file
4
distributed with this work for additional information
5
regarding copyright ownership. The ASF licenses this file
6
to you under the Apache License, Version 2.0 (the
7
"License"; you may not use this file except in compliance
8
with the License. You may obtain a copy of the License at
9
10
http://www.apache.org/licenses/LICENSE-2.0
11
12
Unless required by applicable law or agreed to in writing,
13
software distributed under the License is distributed on an
14
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
KIND, either express or implied. See the License for the
16
specific language governing permissions and limitations
17
under the License.
18
-----------------------------------------------------------------------*/
19
#pragma once
20
21
#include "ProtocolHandlers.h"
22
23
namespace
ETP_NS
24
{
25
class
FETPAPI_DLL_IMPORT_OR_EXPORT StoreNotificationHandlers :
public
ProtocolHandlers
26
{
27
public
:
28
StoreNotificationHandlers(
AbstractSession
* mySession): ProtocolHandlers(mySession) {}
29
virtual
~StoreNotificationHandlers() =
default
;
30
31
void
decodeMessageBody(
const
Energistics::Etp::v12::Datatypes::MessageHeader
& mh, avro::DecoderPtr d);
32
33
virtual
void
on_SubscribeNotifications(
const
Energistics::Etp::v12::Protocol::StoreNotification::SubscribeNotifications
& msg, int64_t messageId);
34
virtual
void
on_SubscribeNotificationsResponse(
const
Energistics::Etp::v12::Protocol::StoreNotification::SubscribeNotificationsResponse
& msg, int64_t messageId);
35
virtual
void
on_UnsubscribeNotifications(
const
Energistics::Etp::v12::Protocol::StoreNotification::UnsubscribeNotifications
& msg, int64_t messageId, int64_t correlationId);
36
virtual
void
on_UnsolicitedStoreNotifications(
const
Energistics::Etp::v12::Protocol::StoreNotification::UnsolicitedStoreNotifications
& msg, int64_t correlationId);
37
virtual
void
on_SubscriptionEnded(
const
Energistics::Etp::v12::Protocol::StoreNotification::SubscriptionEnded
& msg, int64_t correlationId);
38
virtual
void
on_ObjectChanged(
const
Energistics::Etp::v12::Protocol::StoreNotification::ObjectChanged
& msg, int64_t correlationId);
39
virtual
void
on_ObjectDeleted(
const
Energistics::Etp::v12::Protocol::StoreNotification::ObjectDeleted
& msg, int64_t correlationId);
40
virtual
void
on_ObjectAccessRevoked(
const
Energistics::Etp::v12::Protocol::StoreNotification::ObjectAccessRevoked
& msg, int64_t correlationId);
41
virtual
void
on_ObjectActiveStatusChanged(
const
Energistics::Etp::v12::Protocol::StoreNotification::ObjectActiveStatusChanged
& msg, int64_t correlationId);
42
virtual
void
on_Chunk(
const
Energistics::Etp::v12::Protocol::StoreNotification::Chunk
& msg, int64_t correlationId);
43
};
44
}
ETP_NS::AbstractSession
Definition
AbstractSession.h:52
Energistics::Etp::v12::Datatypes::MessageHeader
Definition
EtpMessage.h:29
Energistics::Etp::v12::Protocol::StoreNotification::Chunk
Definition
EtpMessages.h:1756
Energistics::Etp::v12::Protocol::StoreNotification::ObjectAccessRevoked
Definition
EtpMessages.h:1788
Energistics::Etp::v12::Protocol::StoreNotification::ObjectActiveStatusChanged
Definition
EtpMessages.h:4616
Energistics::Etp::v12::Protocol::StoreNotification::ObjectChanged
Definition
EtpMessages.h:4798
Energistics::Etp::v12::Protocol::StoreNotification::ObjectDeleted
Definition
EtpMessages.h:1820
Energistics::Etp::v12::Protocol::StoreNotification::SubscribeNotifications
Definition
EtpMessages.h:4862
Energistics::Etp::v12::Protocol::StoreNotification::SubscribeNotificationsResponse
Definition
EtpMessages.h:447
Energistics::Etp::v12::Protocol::StoreNotification::SubscriptionEnded
Definition
EtpMessages.h:1852
Energistics::Etp::v12::Protocol::StoreNotification::UnsolicitedStoreNotifications
Definition
EtpMessages.h:4888
Energistics::Etp::v12::Protocol::StoreNotification::UnsubscribeNotifications
Definition
EtpMessages.h:1881
Generated by
1.16.1