blob: 3a40feac689f5a26a396eb43cdffdf7ca8e5e27c (
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
28
29
30
|
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
#ifndef ICE_GRID_FILE_CACHE_H
#define ICE_GRID_FILE_CACHE_H
#include <Ice/BuiltinSequences.h>
#include <Ice/CommunicatorF.h>
namespace IceGrid
{
class FileCache
{
public:
FileCache(const std::shared_ptr<Ice::Communicator>&);
long long getOffsetFromEnd(const std::string&, int);
bool read(const std::string&, long long , int, long long &, Ice::StringSeq&);
private:
const int _messageMaxSize;
};
};
#endif
|