summaryrefslogtreecommitdiff
path: root/cpp/src/Glacier2/ServerBlobject.h
blob: 807cf76768a4aadc17b266a3ad3b10ec47a13989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

#ifndef SERVER_BLOBJECT_H
#define SERVER_BLOBJECT_H

#include <Glacier2/Blobject.h>

namespace Glacier2
{

class ServerBlobject final : public Glacier2::Blobject
{
public:

    ServerBlobject(std::shared_ptr<Instance>, std::shared_ptr<Ice::Connection>);

    void ice_invokeAsync(std::pair<const Ice::Byte*, const Ice::Byte*> inEncaps,
                         std::function<void(bool, const std::pair<const Ice::Byte*, const Ice::Byte*>&)> response,
                         std::function<void(std::exception_ptr)> error,
                         const Ice::Current& current) override;
};

}

#endif