5#ifndef ICE_PATCH2_CLIENT_UTIL_H
6#define ICE_PATCH2_CLIENT_UTIL_H
26 virtual ~PatcherFeedback();
33 virtual bool noFileSummary(
const std::string& reason) = 0;
42 virtual bool checksumStart() = 0;
43 virtual bool checksumProgress(
const std::string&) = 0;
44 virtual bool checksumEnd() = 0;
53 virtual bool fileListStart() = 0;
54 virtual bool fileListProgress(
Ice::Int) = 0;
55 virtual bool fileListEnd() = 0;
66 virtual bool patchEnd() = 0;
68typedef IceUtil::Handle<PatcherFeedback> PatcherFeedbackPtr;
91 virtual bool prepare() = 0;
100 virtual bool patch(
const std::string&) = 0;
107 virtual void finish() = 0;
109typedef IceUtil::Handle<Patcher> PatcherPtr;
115class ICEPATCH2_API PatcherFactory :
public IceUtil::noncopyable
138 static PatcherPtr create(
const FileServerPrx&,
const PatcherFeedbackPtr&,
const std::string&,
bool,
Ice::Int,
Ice::Int);
#define ICEPATCH2_API
Definition FileInfo.h:51
int Int
The mapping for the Slice int type.
Definition Config.h:54
IceUtil::Int64 Long
The mapping for the Slice long type.
Definition Config.h:60
::IceInternal::Handle< Communicator > CommunicatorPtr
Definition Communicator.h:608