16#ifndef __IcePatch2_FileServer_h__
17#define __IcePatch2_FileServer_h__
41#ifndef ICE_IGNORE_VERSION
42# if ICE_INT_VERSION / 100 != 307
43# error Ice version mismatch!
45# if ICE_INT_VERSION % 100 >= 50
46# error Beta header file detected
48# if ICE_INT_VERSION % 100 < 11
49# error Ice patch level mismatch!
54# if defined(ICE_STATIC_LIBS)
56# elif defined(ICEPATCH2_API_EXPORTS)
57# define ICEPATCH2_API ICE_DECLSPEC_EXPORT
59# define ICEPATCH2_API ICE_DECLSPEC_IMPORT
63#ifdef ICE_CPP11_MAPPING
80using ByteSeqSeq = ::std::vector<::Ice::ByteSeq>;
86class ICE_CLASS(ICEPATCH2_API) PartitionOutOfRangeException :
public ::Ice::UserExceptionHelper<PartitionOutOfRangeException, ::Ice::UserException>
92 PartitionOutOfRangeException(
const PartitionOutOfRangeException&) =
default;
94 PartitionOutOfRangeException() =
default;
100 std::tuple<> ice_tuple()
const
113static PartitionOutOfRangeException _iceS_PartitionOutOfRangeException_init;
120class ICE_CLASS(ICEPATCH2_API) FileAccessException :
public ::Ice::UserExceptionHelper<FileAccessException, ::Ice::UserException>
126 FileAccessException(
const FileAccessException&) =
default;
128 FileAccessException() =
default;
134 FileAccessException(const ::std::string& reason) :
143 std::tuple<const ::std::string&> ice_tuple()
const
145 return std::tie(reason);
157 ::std::string reason;
165class ICE_CLASS(ICEPATCH2_API) FileSizeRangeException :
public ::Ice::UserExceptionHelper<FileSizeRangeException, FileAccessException>
171 FileSizeRangeException(
const FileSizeRangeException&) =
default;
173 FileSizeRangeException() =
default;
179 FileSizeRangeException(const ::std::string& reason) :
180 ::Ice::UserExceptionHelper<FileSizeRangeException, FileAccessException>(reason)
188 std::tuple<const ::std::string&> ice_tuple()
const
190 return std::tie(reason);
213 using ProxyType = FileServerPrx;
221 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
228 virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current)
const override;
235 virtual ::std::string ice_id(const ::Ice::Current& current)
const override;
241 static const ::std::string& ice_staticId();
257 ICE_DEPRECATED_API(
"getFileInfoSeq() is deprecated, use getLargeFileInfoSeq() instead.") virtual FileInfoSeq getFileInfoSeq(
int partition, const ::Ice::Current& current) const = 0;
259 bool _iceD_getFileInfoSeq(::IceInternal::Incoming&, const ::Ice::Current&) const;
270 virtual LargeFileInfoSeq getLargeFileInfoSeq(
int partition, const ::Ice::Current& current) const = 0;
272 bool _iceD_getLargeFileInfoSeq(::IceInternal::Incoming&, const ::Ice::Current&) const;
284 virtual ByteSeqSeq getChecksumSeq(const ::Ice::Current& current) const = 0;
286 bool _iceD_getChecksumSeq(::IceInternal::Incoming&, const ::Ice::Current&) const;
295 virtual ::Ice::ByteSeq getChecksum(const ::Ice::Current& current) const = 0;
297 bool _iceD_getChecksum(::IceInternal::Incoming&, const ::Ice::Current&) const;
318 ICE_DEPRECATED_API(
"getFileCompressed() is deprecated, use getLargeFileCompressed() instead.") virtual
void getFileCompressedAsync(::std::
string path,
int pos,
int num, ::std::function<
void(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& returnValue)> response, ::std::function<
void(::std::exception_ptr)> exception, const ::Ice::Current& current) const = 0;
320 bool _iceD_getFileCompressed(::IceInternal::Incoming&, const ::Ice::Current&) const;
335 virtual
void getLargeFileCompressedAsync(::std::
string path,
long long int pos,
int num, ::std::function<
void(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& returnValue)> response, ::std::function<
void(::std::exception_ptr)> exception, const ::Ice::Current& current) const = 0;
337 bool _iceD_getLargeFileCompressed(::IceInternal::Incoming&, const ::Ice::Current&) const;
341 virtual
bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
354class ICE_CLASS(ICEPATCH2_API) FileServerPrx :
public virtual ::Ice::Proxy<FileServerPrx, ::Ice::ObjectPrx>
372 ICE_DEPRECATED_API(
"getFileInfoSeq() is deprecated, use getLargeFileInfoSeq() instead.") FileInfoSeq getFileInfoSeq(
int partition, const ::Ice::Context& context = ::Ice::noExplicitContext)
374 return _makePromiseOutgoing<::IcePatch2::FileInfoSeq>(
true,
this, &FileServerPrx::_iceI_getFileInfoSeq, partition, context).
get();
388 template<
template<
typename>
class P = ::std::promise>
389 ICE_DEPRECATED_API(
"getFileInfoSeq() is deprecated, use getLargeFileInfoSeq() instead.") auto getFileInfoSeqAsync(
int partition, const ::Ice::Context& context = ::Ice::noExplicitContext)
390 -> decltype(::std::declval<P<::IcePatch2::FileInfoSeq>>().get_future())
392 return _makePromiseOutgoing<::IcePatch2::FileInfoSeq, P>(
false,
this, &FileServerPrx::_iceI_getFileInfoSeq, partition, context);
409 ::std::function<void()>
410 getFileInfoSeqAsync(
int partition,
411 ::std::function<
void(::IcePatch2::FileInfoSeq)> response,
412 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
413 ::std::function<
void(
bool)> sent =
nullptr,
416 return _makeLambdaOutgoing<::IcePatch2::FileInfoSeq>(std::move(response), std::move(ex), std::move(sent),
this, &IcePatch2::FileServerPrx::_iceI_getFileInfoSeq, partition, context);
420 ICE_MEMBER(
ICEPATCH2_API)
void _iceI_getFileInfoSeq(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IcePatch2::FileInfoSeq>>&,
int, const ::Ice::Context&);
433 return _makePromiseOutgoing<::IcePatch2::LargeFileInfoSeq>(
true,
this, &FileServerPrx::_iceI_getLargeFileInfoSeq, partition, context).get();
442 template<
template<
typename>
class P = ::std::promise>
444 ->
decltype(::std::declval<P<::IcePatch2::LargeFileInfoSeq>>().get_future())
446 return _makePromiseOutgoing<::IcePatch2::LargeFileInfoSeq, P>(
false,
this, &FileServerPrx::_iceI_getLargeFileInfoSeq, partition, context);
458 ::std::function<void()>
459 getLargeFileInfoSeqAsync(
int partition,
460 ::std::function<
void(::IcePatch2::LargeFileInfoSeq)> response,
461 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
462 ::std::function<
void(
bool)> sent =
nullptr,
465 return _makeLambdaOutgoing<::IcePatch2::LargeFileInfoSeq>(std::move(response), std::move(ex), std::move(sent),
this, &IcePatch2::FileServerPrx::_iceI_getLargeFileInfoSeq, partition, context);
469 ICE_MEMBER(
ICEPATCH2_API)
void _iceI_getLargeFileInfoSeq(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IcePatch2::LargeFileInfoSeq>>&,
int, const ::Ice::Context&);
483 return _makePromiseOutgoing<::IcePatch2::ByteSeqSeq>(
true,
this, &FileServerPrx::_iceI_getChecksumSeq, context).get();
491 template<
template<
typename>
class P = ::std::promise>
493 ->
decltype(::std::declval<P<::IcePatch2::ByteSeqSeq>>().get_future())
495 return _makePromiseOutgoing<::IcePatch2::ByteSeqSeq, P>(
false,
this, &FileServerPrx::_iceI_getChecksumSeq, context);
506 ::std::function<void()>
507 getChecksumSeqAsync(::std::function<
void(::IcePatch2::ByteSeqSeq)> response,
508 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
509 ::std::function<
void(
bool)> sent =
nullptr,
512 return _makeLambdaOutgoing<::IcePatch2::ByteSeqSeq>(std::move(response), std::move(ex), std::move(sent),
this, &IcePatch2::FileServerPrx::_iceI_getChecksumSeq, context);
516 ICE_MEMBER(
ICEPATCH2_API)
void _iceI_getChecksumSeq(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IcePatch2::ByteSeqSeq>>&, const ::Ice::Context&);
527 return _makePromiseOutgoing<::Ice::ByteSeq>(
true,
this, &FileServerPrx::_iceI_getChecksum, context).get();
536 template<
template<
typename>
class P = ::std::promise>
538 ->
decltype(::std::declval<P<::Ice::ByteSeq>>().get_future())
540 return _makePromiseOutgoing<::Ice::ByteSeq, P>(
false,
this, &FileServerPrx::_iceI_getChecksum, context);
552 ::std::function<void()>
554 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
555 ::std::function<
void(
bool)> sent =
nullptr,
558 return _makeLambdaOutgoing<::Ice::ByteSeq>(std::move(response), std::move(ex), std::move(sent),
this, &IcePatch2::FileServerPrx::_iceI_getChecksum, context);
562 ICE_MEMBER(
ICEPATCH2_API)
void _iceI_getChecksum(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::ByteSeq>>&, const ::Ice::Context&);
584 return _makePromiseOutgoing<::Ice::ByteSeq>(
true,
this, &FileServerPrx::_iceI_getFileCompressed, path, pos, num, context).get();
602 template<
template<
typename>
class P = ::std::promise>
603 ICE_DEPRECATED_API(
"getFileCompressed() is deprecated, use getLargeFileCompressed() instead.") auto getFileCompressedAsync(const ::std::
string& path,
int pos,
int num, const ::Ice::Context& context = ::Ice::noExplicitContext)
604 -> decltype(::std::declval<P<::Ice::ByteSeq>>().get_future())
606 return _makePromiseOutgoing<::Ice::ByteSeq, P>(
false,
this, &FileServerPrx::_iceI_getFileCompressed, path, pos, num, context);
628 getFileCompressedAsync(const ::std::string& path, int pos, int num,
629 ::std::function<void(::std::pair<const ::Ice::
Byte*, const ::Ice::
Byte*>)> response,
630 ::std::function<void(::std::exception_ptr)> ex = nullptr,
631 ::std::function<void(bool)> sent = nullptr,
635 ICE_MEMBER(
ICEPATCH2_API)
void _iceI_getFileCompressed(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::ByteSeq>>&, const ::std::string&,
int,
int, const ::Ice::Context&);
651 return _makePromiseOutgoing<::Ice::ByteSeq>(
true,
this, &FileServerPrx::_iceI_getLargeFileCompressed, path, pos, num, context).get();
664 template<
template<
typename>
class P = ::std::promise>
665 auto getLargeFileCompressedAsync(const ::std::string& path,
long long int pos,
int num, const ::Ice::Context& context =
::Ice::noExplicitContext)
666 ->
decltype(::std::declval<P<::Ice::ByteSeq>>().get_future())
668 return _makePromiseOutgoing<::Ice::ByteSeq, P>(
false,
this, &FileServerPrx::_iceI_getLargeFileCompressed, path, pos, num, context);
685 getLargeFileCompressedAsync(const ::std::string& path, long long int pos, int num,
686 ::std::function<void(::std::pair<const ::Ice::
Byte*, const ::Ice::
Byte*>)> response,
687 ::std::function<void(::std::exception_ptr)> ex = nullptr,
688 ::std::function<void(bool)> sent = nullptr,
692 ICE_MEMBER(
ICEPATCH2_API)
void _iceI_getLargeFileCompressed(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::ByteSeq>>&, const ::std::string&,
long long int,
int, const ::Ice::Context&);
704 FileServerPrx() =
default;
705 friend ::std::shared_ptr<FileServerPrx> IceInternal::createProxy<FileServerPrx>();
718struct StreamReader<::IcePatch2::FileAccessException, S>
720 static void read(S* istr, ::IcePatch2::FileAccessException& v)
722 istr->readAll(v.reason);
727struct StreamWriter<::IcePatch2::FileSizeRangeException, S>
729 static void write(S*, const ::IcePatch2::FileSizeRangeException&)
735struct StreamReader<::IcePatch2::FileSizeRangeException, S>
737 static void read(S*, ::IcePatch2::FileSizeRangeException&)
749using FileServerPtr = ::std::shared_ptr<FileServer>;
750using FileServerPrxPtr = ::std::shared_ptr<FileServerPrx>;
765ICEPATCH2_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< FileServer>&);
766ICEPATCH2_API ::IceProxy::Ice::Object*
upCast(FileServer*);
778ICEPATCH2_API ::Ice::Object*
upCast(FileServer*);
780typedef ::IceInternal::Handle< FileServer> FileServerPtr;
781typedef ::IceInternal::ProxyHandle< ::IceProxy::IcePatch2::FileServer> FileServerPrx;
782typedef FileServerPrx FileServerPrxPtr;
784ICEPATCH2_API void _icePatchObjectPtr(FileServerPtr&, const ::Ice::ObjectPtr&);
796typedef ::std::vector< ::Ice::ByteSeq> ByteSeqSeq;
802class ICEPATCH2_API PartitionOutOfRangeException :
public ::Ice::UserException
806 PartitionOutOfRangeException() {}
808#ifdef ICE_CPP11_COMPILER
809 PartitionOutOfRangeException(
const PartitionOutOfRangeException&) =
default;
810 virtual ~PartitionOutOfRangeException();
812 virtual ~PartitionOutOfRangeException() throw();
819 virtual ::std::string ice_id()
const;
824 virtual PartitionOutOfRangeException* ice_clone()
const;
828 virtual void ice_throw()
const;
833 virtual void _writeImpl(::Ice::OutputStream*)
const;
834 virtual void _readImpl(::Ice::InputStream*);
839static PartitionOutOfRangeException _iceS_PartitionOutOfRangeException_init;
846class ICEPATCH2_API FileAccessException :
public ::Ice::UserException
850 FileAccessException() {}
855 explicit FileAccessException(const ::std::string& reason);
857#ifdef ICE_CPP11_COMPILER
858 FileAccessException(
const FileAccessException&) =
default;
859 virtual ~FileAccessException();
861 virtual ~FileAccessException() throw();
868 virtual ::std::string ice_id()
const;
873 virtual FileAccessException* ice_clone()
const;
877 virtual void ice_throw()
const;
882 ::std::string reason;
887 virtual void _writeImpl(::Ice::OutputStream*)
const;
888 virtual void _readImpl(::Ice::InputStream*);
897class ICEPATCH2_API FileSizeRangeException :
public FileAccessException
901 FileSizeRangeException() {}
906 explicit FileSizeRangeException(const ::std::string& reason);
908#ifdef ICE_CPP11_COMPILER
909 FileSizeRangeException(
const FileSizeRangeException&) =
default;
910 virtual ~FileSizeRangeException();
912 virtual ~FileSizeRangeException() throw();
919 virtual ::std::string ice_id()
const;
924 virtual FileSizeRangeException* ice_clone()
const;
928 virtual void ice_throw()
const;
933 virtual void _writeImpl(::Ice::OutputStream*)
const;
934 virtual void _readImpl(::Ice::InputStream*);
948class ICEPATCH2_API AMD_FileServer_getFileCompressed :
public virtual ::Ice::AMDCallback
952 virtual ~AMD_FileServer_getFileCompressed();
958 virtual void ice_response(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& result) = 0;
961typedef ::IceUtil::Handle< ::IcePatch2::AMD_FileServer_getFileCompressed> AMD_FileServer_getFileCompressedPtr;
968class ICEPATCH2_API AMD_FileServer_getLargeFileCompressed :
public virtual ::Ice::AMDCallback
972 virtual ~AMD_FileServer_getLargeFileCompressed();
978 virtual void ice_response(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& result) = 0;
981typedef ::IceUtil::Handle< ::IcePatch2::AMD_FileServer_getLargeFileCompressed> AMD_FileServer_getLargeFileCompressedPtr;
992#if defined(_MSC_VER) && (_MSC_VER >= 1900)
993# pragma warning(push)
994# pragma warning(disable:4239)
997class ICEPATCH2_API AMD_FileServer_getFileCompressed :
public ::IcePatch2::AMD_FileServer_getFileCompressed,
public ::IceInternal::IncomingAsync
1001 AMD_FileServer_getFileCompressed(::IceInternal::Incoming&);
1003 virtual void ice_response(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&);
1006#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1007# pragma warning(pop)
1010#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1011# pragma warning(push)
1012# pragma warning(disable:4239)
1015class ICEPATCH2_API AMD_FileServer_getLargeFileCompressed :
public ::IcePatch2::AMD_FileServer_getLargeFileCompressed,
public ::IceInternal::IncomingAsync
1019 AMD_FileServer_getLargeFileCompressed(::IceInternal::Incoming&);
1021 virtual void ice_response(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&);
1024#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1025# pragma warning(pop)
1041class Callback_FileServer_getFileInfoSeq_Base :
public virtual ::IceInternal::CallbackBase { };
1042typedef ::IceUtil::Handle< Callback_FileServer_getFileInfoSeq_Base> Callback_FileServer_getFileInfoSeqPtr;
1049class Callback_FileServer_getLargeFileInfoSeq_Base :
public virtual ::IceInternal::CallbackBase { };
1050typedef ::IceUtil::Handle< Callback_FileServer_getLargeFileInfoSeq_Base> Callback_FileServer_getLargeFileInfoSeqPtr;
1057class Callback_FileServer_getChecksumSeq_Base :
public virtual ::IceInternal::CallbackBase { };
1058typedef ::IceUtil::Handle< Callback_FileServer_getChecksumSeq_Base> Callback_FileServer_getChecksumSeqPtr;
1065class Callback_FileServer_getChecksum_Base :
public virtual ::IceInternal::CallbackBase { };
1066typedef ::IceUtil::Handle< Callback_FileServer_getChecksum_Base> Callback_FileServer_getChecksumPtr;
1073class Callback_FileServer_getFileCompressed_Base :
public virtual ::IceInternal::CallbackBase { };
1074typedef ::IceUtil::Handle< Callback_FileServer_getFileCompressed_Base> Callback_FileServer_getFileCompressedPtr;
1081class Callback_FileServer_getLargeFileCompressed_Base :
public virtual ::IceInternal::CallbackBase { };
1082typedef ::IceUtil::Handle< Callback_FileServer_getLargeFileCompressed_Base> Callback_FileServer_getLargeFileCompressedPtr;
1092class ICE_CLASS(ICEPATCH2_API) FileServer :
public virtual ::Ice::Proxy<FileServer, ::IceProxy::Ice::Object>
1110 ICE_DEPRECATED_API(
"getFileInfoSeq() is deprecated, use getLargeFileInfoSeq() instead.")
ICE_MEMBER(
ICEPATCH2_API) ::IcePatch2::FileInfoSeq getFileInfoSeq(::Ice::Int partition, const ::Ice::Context& context = ::Ice::noExplicitContext)
1112 return end_getFileInfoSeq(_iceI_begin_getFileInfoSeq(partition, context, ::IceInternal::dummyCallback, 0,
true));
1128 return _iceI_begin_getFileInfoSeq(partition, context, ::IceInternal::dummyCallback, 0);
1161 ::Ice::AsyncResultPtr begin_getFileInfoSeq(
::Ice::Int partition, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1163 return _iceI_begin_getFileInfoSeq(partition, context, cb, cookie);
1178 ::Ice::AsyncResultPtr begin_getFileInfoSeq(
::Ice::Int partition, const ::IcePatch2::Callback_FileServer_getFileInfoSeqPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1196 ::Ice::AsyncResultPtr begin_getFileInfoSeq(
::Ice::Int partition, const ::Ice::Context& context, const ::IcePatch2::Callback_FileServer_getFileInfoSeqPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1198 return _iceI_begin_getFileInfoSeq(partition, context, cb, cookie);
1227 return end_getLargeFileInfoSeq(_iceI_begin_getLargeFileInfoSeq(partition, context, ::IceInternal::dummyCallback, 0,
true));
1238 return _iceI_begin_getLargeFileInfoSeq(partition, context, ::IceInternal::dummyCallback, 0);
1261 ::Ice::AsyncResultPtr begin_getLargeFileInfoSeq(
::Ice::Int partition, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1263 return _iceI_begin_getLargeFileInfoSeq(partition, context, cb, cookie);
1273 ::Ice::AsyncResultPtr begin_getLargeFileInfoSeq(
::Ice::Int partition, const ::IcePatch2::Callback_FileServer_getLargeFileInfoSeqPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1286 ::Ice::AsyncResultPtr begin_getLargeFileInfoSeq(
::Ice::Int partition, const ::Ice::Context& context, const ::IcePatch2::Callback_FileServer_getLargeFileInfoSeqPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1288 return _iceI_begin_getLargeFileInfoSeq(partition, context, cb, cookie);
1317 return end_getChecksumSeq(_iceI_begin_getChecksumSeq(context, ::IceInternal::dummyCallback, 0,
true));
1327 return _iceI_begin_getChecksumSeq(context, ::IceInternal::dummyCallback, 0);
1336 ::Ice::AsyncResultPtr begin_getChecksumSeq(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1348 ::Ice::AsyncResultPtr begin_getChecksumSeq(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1350 return _iceI_begin_getChecksumSeq(context, cb, cookie);
1359 ::Ice::AsyncResultPtr begin_getChecksumSeq(const ::IcePatch2::Callback_FileServer_getChecksumSeqPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1371 ::Ice::AsyncResultPtr begin_getChecksumSeq(const ::Ice::Context& context, const ::IcePatch2::Callback_FileServer_getChecksumSeqPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1373 return _iceI_begin_getChecksumSeq(context, cb, cookie);
1401 return end_getChecksum(_iceI_begin_getChecksum(context, ::IceInternal::dummyCallback, 0,
true));
1412 return _iceI_begin_getChecksum(context, ::IceInternal::dummyCallback, 0);
1422 ::Ice::AsyncResultPtr begin_getChecksum(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1435 ::Ice::AsyncResultPtr begin_getChecksum(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1437 return _iceI_begin_getChecksum(context, cb, cookie);
1447 ::Ice::AsyncResultPtr begin_getChecksum(const ::IcePatch2::Callback_FileServer_getChecksumPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1460 ::Ice::AsyncResultPtr begin_getChecksum(const ::Ice::Context& context, const ::IcePatch2::Callback_FileServer_getChecksumPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1462 return _iceI_begin_getChecksum(context, cb, cookie);
1495 ICE_DEPRECATED_API(
"getFileCompressed() is deprecated, use getLargeFileCompressed() instead.")
ICE_MEMBER(
ICEPATCH2_API) ::Ice::ByteSeq getFileCompressed(const ::std::
string& path, ::Ice::Int pos, ::Ice::Int num, const ::Ice::Context& context = ::Ice::noExplicitContext)
1497 return end_getFileCompressed(_iceI_begin_getFileCompressed(path, pos, num, context, ::IceInternal::dummyCallback, 0,
true));
1517 return _iceI_begin_getFileCompressed(path, pos, num, context, ::IceInternal::dummyCallback, 0);
1558 ::Ice::AsyncResultPtr begin_getFileCompressed(const ::std::string& path,
::Ice::Int pos,
::Ice::Int num, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1560 return _iceI_begin_getFileCompressed(path, pos, num, context, cb, cookie);
1579 ::Ice::AsyncResultPtr begin_getFileCompressed(const ::std::string& path,
::Ice::Int pos,
::Ice::Int num, const ::IcePatch2::Callback_FileServer_getFileCompressedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1601 ::Ice::AsyncResultPtr begin_getFileCompressed(const ::std::string& path,
::Ice::Int pos,
::Ice::Int num, const ::Ice::Context& context, const ::IcePatch2::Callback_FileServer_getFileCompressedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1603 return _iceI_begin_getFileCompressed(path, pos, num, context, cb, cookie);
1616 ICE_MEMBER(
ICEPATCH2_API)
void _iceI_end_getFileCompressed(::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& ret, const ::Ice::AsyncResultPtr&);
1638 return end_getLargeFileCompressed(_iceI_begin_getLargeFileCompressed(path, pos, num, context, ::IceInternal::dummyCallback, 0,
true));
1653 return _iceI_begin_getLargeFileCompressed(path, pos, num, context, ::IceInternal::dummyCallback, 0);
1684 ::Ice::AsyncResultPtr begin_getLargeFileCompressed(const ::std::string& path,
::Ice::Long pos,
::Ice::Int num, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1686 return _iceI_begin_getLargeFileCompressed(path, pos, num, context, cb, cookie);
1700 ::Ice::AsyncResultPtr begin_getLargeFileCompressed(const ::std::string& path,
::Ice::Long pos,
::Ice::Int num, const ::IcePatch2::Callback_FileServer_getLargeFileCompressedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1717 ::Ice::AsyncResultPtr begin_getLargeFileCompressed(const ::std::string& path,
::Ice::Long pos,
::Ice::Int num, const ::Ice::Context& context, const ::IcePatch2::Callback_FileServer_getLargeFileCompressedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1719 return _iceI_begin_getLargeFileCompressed(path, pos, num, context, cb, cookie);
1731 ICE_MEMBER(
ICEPATCH2_API)
void _iceI_end_getLargeFileCompressed(::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& ret, const ::Ice::AsyncResultPtr&);
1764class ICEPATCH2_API FileServer :
public virtual ::Ice::Object
1768 typedef FileServerPrx ProxyType;
1769 typedef FileServerPtr PointerType;
1771 virtual ~FileServer();
1773#ifdef ICE_CPP11_COMPILER
1774 FileServer() =
default;
1775 FileServer(
const FileServer&) =
default;
1776 FileServer& operator=(
const FileServer&) =
default;
1785 virtual bool ice_isA(const ::std::string&
id, const ::Ice::Current& current =
::Ice::emptyCurrent)
const;
1792 virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current =
::Ice::emptyCurrent)
const;
1799 virtual const ::std::string& ice_id(const ::Ice::Current& current =
::Ice::emptyCurrent)
const;
1805 static const ::std::string& ice_staticId();
1821 ICE_DEPRECATED_API(
"getFileInfoSeq() is deprecated, use getLargeFileInfoSeq() instead.") virtual FileInfoSeq getFileInfoSeq(::Ice::Int partition, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
1823 bool _iceD_getFileInfoSeq(::IceInternal::Incoming&, const ::Ice::Current&) const;
1834 virtual LargeFileInfoSeq getLargeFileInfoSeq(::Ice::Int partition, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
1836 bool _iceD_getLargeFileInfoSeq(::IceInternal::Incoming&, const ::Ice::Current&) const;
1848 virtual ByteSeqSeq getChecksumSeq(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
1850 bool _iceD_getChecksumSeq(::IceInternal::Incoming&, const ::Ice::Current&) const;
1859 virtual ::Ice::ByteSeq getChecksum(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
1861 bool _iceD_getChecksum(::IceInternal::Incoming&, const ::Ice::Current&) const;
1881 ICE_DEPRECATED_API(
"getFileCompressed() is deprecated, use getLargeFileCompressed() instead.") virtual
void getFileCompressed_async(const ::IcePatch2::AMD_FileServer_getFileCompressedPtr& cb, const ::std::
string& path, ::Ice::Int pos, ::Ice::Int num, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
1883 bool _iceD_getFileCompressed(::IceInternal::Incoming&, const ::Ice::Current&) const;
1897 virtual
void getLargeFileCompressed_async(const ::IcePatch2::AMD_FileServer_getLargeFileCompressedPtr& cb, const ::std::
string& path, ::Ice::Long pos, ::Ice::Int num, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
1899 bool _iceD_getLargeFileCompressed(::IceInternal::Incoming&, const ::Ice::Current&) const;
1903 virtual
bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
1909 virtual
void _iceWriteImpl(::Ice::OutputStream*) const;
1910 virtual
void _iceReadImpl(::Ice::InputStream*);
1915inline
bool operator==(const FileServer& lhs, const FileServer& rhs)
1917 return static_cast<const ::Ice::Object&
>(lhs) ==
static_cast<const ::Ice::Object&
>(rhs);
1920inline bool operator<(
const FileServer& lhs,
const FileServer& rhs)
1922 return static_cast<const ::Ice::Object&
>(lhs) <
static_cast<const ::Ice::Object&
>(rhs);
1933struct StreamableTraits< ::IcePatch2::PartitionOutOfRangeException>
1935 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
1939struct StreamableTraits< ::IcePatch2::FileAccessException>
1941 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
1945struct StreamWriter< ::IcePatch2::FileAccessException, S>
1947 static void write(S* ostr, const ::IcePatch2::FileAccessException& v)
1949 ostr->write(v.reason);
1954struct StreamReader< ::IcePatch2::FileAccessException, S>
1956 static void read(S* istr, ::IcePatch2::FileAccessException& v)
1958 istr->read(v.reason);
1963struct StreamableTraits< ::IcePatch2::FileSizeRangeException>
1965 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
1980class CallbackNC_FileServer_getFileInfoSeq :
public Callback_FileServer_getFileInfoSeq_Base,
public ::IceInternal::TwowayCallbackNC<T>
1984 typedef IceUtil::Handle<T> TPtr;
1986 typedef void (T::*Exception)(const ::Ice::Exception&);
1987 typedef void (T::*Sent)(bool);
1988 typedef void (T::*Response)(
const FileInfoSeq&);
1990 CallbackNC_FileServer_getFileInfoSeq(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1991 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
1996 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
1998 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2002 ret = proxy->end_getFileInfoSeq(result);
2004 catch(const ::Ice::Exception& ex)
2006 ::IceInternal::CallbackNC<T>::exception(result, ex);
2011 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2029template<
class T> Callback_FileServer_getFileInfoSeqPtr
2030newCallback_FileServer_getFileInfoSeq(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const FileInfoSeq&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2032 return new CallbackNC_FileServer_getFileInfoSeq<T>(instance, cb, excb, sentcb);
2043template<
class T> Callback_FileServer_getFileInfoSeqPtr
2044newCallback_FileServer_getFileInfoSeq(T* instance,
void (T::*cb)(
const FileInfoSeq&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2046 return new CallbackNC_FileServer_getFileInfoSeq<T>(instance, cb, excb, sentcb);
2054template<
class T,
typename CT>
2055class Callback_FileServer_getFileInfoSeq :
public Callback_FileServer_getFileInfoSeq_Base,
public ::IceInternal::TwowayCallback<T, CT>
2059 typedef IceUtil::Handle<T> TPtr;
2061 typedef void (T::*Exception)(const ::Ice::Exception& ,
const CT&);
2062 typedef void (T::*Sent)(bool ,
const CT&);
2063 typedef void (T::*Response)(
const FileInfoSeq&,
const CT&);
2065 Callback_FileServer_getFileInfoSeq(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2066 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2071 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2073 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2077 ret = proxy->end_getFileInfoSeq(result);
2079 catch(const ::Ice::Exception& ex)
2081 ::IceInternal::Callback<T, CT>::exception(result, ex);
2086 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2105template<
class T,
typename CT> Callback_FileServer_getFileInfoSeqPtr
2106newCallback_FileServer_getFileInfoSeq(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const FileInfoSeq&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2108 return new Callback_FileServer_getFileInfoSeq<T, CT>(instance, cb, excb, sentcb);
2120template<
class T,
typename CT> Callback_FileServer_getFileInfoSeqPtr
2121newCallback_FileServer_getFileInfoSeq(T* instance,
void (T::*cb)(
const FileInfoSeq&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2123 return new Callback_FileServer_getFileInfoSeq<T, CT>(instance, cb, excb, sentcb);
2132class CallbackNC_FileServer_getLargeFileInfoSeq :
public Callback_FileServer_getLargeFileInfoSeq_Base,
public ::IceInternal::TwowayCallbackNC<T>
2136 typedef IceUtil::Handle<T> TPtr;
2138 typedef void (T::*Exception)(const ::Ice::Exception&);
2139 typedef void (T::*Sent)(bool);
2140 typedef void (T::*Response)(
const LargeFileInfoSeq&);
2142 CallbackNC_FileServer_getLargeFileInfoSeq(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2143 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2148 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2150 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2151 LargeFileInfoSeq ret;
2154 ret = proxy->end_getLargeFileInfoSeq(result);
2156 catch(const ::Ice::Exception& ex)
2158 ::IceInternal::CallbackNC<T>::exception(result, ex);
2163 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2181template<
class T> Callback_FileServer_getLargeFileInfoSeqPtr
2182newCallback_FileServer_getLargeFileInfoSeq(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const LargeFileInfoSeq&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2184 return new CallbackNC_FileServer_getLargeFileInfoSeq<T>(instance, cb, excb, sentcb);
2195template<
class T> Callback_FileServer_getLargeFileInfoSeqPtr
2196newCallback_FileServer_getLargeFileInfoSeq(T* instance,
void (T::*cb)(
const LargeFileInfoSeq&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2198 return new CallbackNC_FileServer_getLargeFileInfoSeq<T>(instance, cb, excb, sentcb);
2206template<
class T,
typename CT>
2207class Callback_FileServer_getLargeFileInfoSeq :
public Callback_FileServer_getLargeFileInfoSeq_Base,
public ::IceInternal::TwowayCallback<T, CT>
2211 typedef IceUtil::Handle<T> TPtr;
2213 typedef void (T::*Exception)(const ::Ice::Exception& ,
const CT&);
2214 typedef void (T::*Sent)(bool ,
const CT&);
2215 typedef void (T::*Response)(
const LargeFileInfoSeq&,
const CT&);
2217 Callback_FileServer_getLargeFileInfoSeq(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2218 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2223 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2225 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2226 LargeFileInfoSeq ret;
2229 ret = proxy->end_getLargeFileInfoSeq(result);
2231 catch(const ::Ice::Exception& ex)
2233 ::IceInternal::Callback<T, CT>::exception(result, ex);
2238 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2257template<
class T,
typename CT> Callback_FileServer_getLargeFileInfoSeqPtr
2258newCallback_FileServer_getLargeFileInfoSeq(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const LargeFileInfoSeq&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2260 return new Callback_FileServer_getLargeFileInfoSeq<T, CT>(instance, cb, excb, sentcb);
2272template<
class T,
typename CT> Callback_FileServer_getLargeFileInfoSeqPtr
2273newCallback_FileServer_getLargeFileInfoSeq(T* instance,
void (T::*cb)(
const LargeFileInfoSeq&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2275 return new Callback_FileServer_getLargeFileInfoSeq<T, CT>(instance, cb, excb, sentcb);
2284class CallbackNC_FileServer_getChecksumSeq :
public Callback_FileServer_getChecksumSeq_Base,
public ::IceInternal::TwowayCallbackNC<T>
2288 typedef IceUtil::Handle<T> TPtr;
2290 typedef void (T::*Exception)(const ::Ice::Exception&);
2291 typedef void (T::*Sent)(bool);
2292 typedef void (T::*Response)(
const ByteSeqSeq&);
2294 CallbackNC_FileServer_getChecksumSeq(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2295 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2300 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2302 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2306 ret = proxy->end_getChecksumSeq(result);
2308 catch(const ::Ice::Exception& ex)
2310 ::IceInternal::CallbackNC<T>::exception(result, ex);
2315 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2333template<
class T> Callback_FileServer_getChecksumSeqPtr
2334newCallback_FileServer_getChecksumSeq(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const ByteSeqSeq&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2336 return new CallbackNC_FileServer_getChecksumSeq<T>(instance, cb, excb, sentcb);
2347template<
class T> Callback_FileServer_getChecksumSeqPtr
2348newCallback_FileServer_getChecksumSeq(T* instance,
void (T::*cb)(
const ByteSeqSeq&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2350 return new CallbackNC_FileServer_getChecksumSeq<T>(instance, cb, excb, sentcb);
2358template<
class T,
typename CT>
2359class Callback_FileServer_getChecksumSeq :
public Callback_FileServer_getChecksumSeq_Base,
public ::IceInternal::TwowayCallback<T, CT>
2363 typedef IceUtil::Handle<T> TPtr;
2365 typedef void (T::*Exception)(const ::Ice::Exception& ,
const CT&);
2366 typedef void (T::*Sent)(bool ,
const CT&);
2367 typedef void (T::*Response)(
const ByteSeqSeq&,
const CT&);
2369 Callback_FileServer_getChecksumSeq(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2370 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2375 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2377 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2381 ret = proxy->end_getChecksumSeq(result);
2383 catch(const ::Ice::Exception& ex)
2385 ::IceInternal::Callback<T, CT>::exception(result, ex);
2390 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2409template<
class T,
typename CT> Callback_FileServer_getChecksumSeqPtr
2410newCallback_FileServer_getChecksumSeq(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const ByteSeqSeq&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2412 return new Callback_FileServer_getChecksumSeq<T, CT>(instance, cb, excb, sentcb);
2424template<
class T,
typename CT> Callback_FileServer_getChecksumSeqPtr
2425newCallback_FileServer_getChecksumSeq(T* instance,
void (T::*cb)(
const ByteSeqSeq&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2427 return new Callback_FileServer_getChecksumSeq<T, CT>(instance, cb, excb, sentcb);
2436class CallbackNC_FileServer_getChecksum :
public Callback_FileServer_getChecksum_Base,
public ::IceInternal::TwowayCallbackNC<T>
2440 typedef IceUtil::Handle<T> TPtr;
2442 typedef void (T::*Exception)(const ::Ice::Exception&);
2443 typedef void (T::*Sent)(bool);
2444 typedef void (T::*Response)(const ::Ice::ByteSeq&);
2446 CallbackNC_FileServer_getChecksum(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2447 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2452 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2454 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2458 ret = proxy->end_getChecksum(result);
2460 catch(const ::Ice::Exception& ex)
2462 ::IceInternal::CallbackNC<T>::exception(result, ex);
2467 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2485template<
class T> Callback_FileServer_getChecksumPtr
2486newCallback_FileServer_getChecksum(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::Ice::ByteSeq&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2488 return new CallbackNC_FileServer_getChecksum<T>(instance, cb, excb, sentcb);
2499template<
class T> Callback_FileServer_getChecksumPtr
2500newCallback_FileServer_getChecksum(T* instance,
void (T::*cb)(const ::Ice::ByteSeq&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2502 return new CallbackNC_FileServer_getChecksum<T>(instance, cb, excb, sentcb);
2510template<
class T,
typename CT>
2511class Callback_FileServer_getChecksum :
public Callback_FileServer_getChecksum_Base,
public ::IceInternal::TwowayCallback<T, CT>
2515 typedef IceUtil::Handle<T> TPtr;
2517 typedef void (T::*Exception)(const ::Ice::Exception& ,
const CT&);
2518 typedef void (T::*Sent)(bool ,
const CT&);
2519 typedef void (T::*Response)(const ::Ice::ByteSeq&,
const CT&);
2521 Callback_FileServer_getChecksum(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2522 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2527 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2529 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2533 ret = proxy->end_getChecksum(result);
2535 catch(const ::Ice::Exception& ex)
2537 ::IceInternal::Callback<T, CT>::exception(result, ex);
2542 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2561template<
class T,
typename CT> Callback_FileServer_getChecksumPtr
2562newCallback_FileServer_getChecksum(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::Ice::ByteSeq&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2564 return new Callback_FileServer_getChecksum<T, CT>(instance, cb, excb, sentcb);
2576template<
class T,
typename CT> Callback_FileServer_getChecksumPtr
2577newCallback_FileServer_getChecksum(T* instance,
void (T::*cb)(const ::Ice::ByteSeq&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2579 return new Callback_FileServer_getChecksum<T, CT>(instance, cb, excb, sentcb);
2588class CallbackNC_FileServer_getFileCompressed :
public Callback_FileServer_getFileCompressed_Base,
public ::IceInternal::TwowayCallbackNC<T>
2592 typedef IceUtil::Handle<T> TPtr;
2594 typedef void (T::*Exception)(const ::Ice::Exception&);
2595 typedef void (T::*Sent)(bool);
2596 typedef void (T::*Response)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&);
2598 CallbackNC_FileServer_getFileCompressed(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2599 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2604 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2606 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2607 ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*> ret;
2610 proxy->_iceI_end_getFileCompressed(ret, result);
2612 catch(const ::Ice::Exception& ex)
2614 ::IceInternal::CallbackNC<T>::exception(result, ex);
2619 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2637template<
class T> Callback_FileServer_getFileCompressedPtr
2638newCallback_FileServer_getFileCompressed(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2640 return new CallbackNC_FileServer_getFileCompressed<T>(instance, cb, excb, sentcb);
2651template<
class T> Callback_FileServer_getFileCompressedPtr
2652newCallback_FileServer_getFileCompressed(T* instance,
void (T::*cb)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2654 return new CallbackNC_FileServer_getFileCompressed<T>(instance, cb, excb, sentcb);
2662template<
class T,
typename CT>
2663class Callback_FileServer_getFileCompressed :
public Callback_FileServer_getFileCompressed_Base,
public ::IceInternal::TwowayCallback<T, CT>
2667 typedef IceUtil::Handle<T> TPtr;
2669 typedef void (T::*Exception)(const ::Ice::Exception& ,
const CT&);
2670 typedef void (T::*Sent)(bool ,
const CT&);
2671 typedef void (T::*Response)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
const CT&);
2673 Callback_FileServer_getFileCompressed(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2674 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2679 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2681 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2682 ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*> ret;
2685 proxy->_iceI_end_getFileCompressed(ret, result);
2687 catch(const ::Ice::Exception& ex)
2689 ::IceInternal::Callback<T, CT>::exception(result, ex);
2694 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2713template<
class T,
typename CT> Callback_FileServer_getFileCompressedPtr
2714newCallback_FileServer_getFileCompressed(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2716 return new Callback_FileServer_getFileCompressed<T, CT>(instance, cb, excb, sentcb);
2728template<
class T,
typename CT> Callback_FileServer_getFileCompressedPtr
2729newCallback_FileServer_getFileCompressed(T* instance,
void (T::*cb)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2731 return new Callback_FileServer_getFileCompressed<T, CT>(instance, cb, excb, sentcb);
2740class CallbackNC_FileServer_getLargeFileCompressed :
public Callback_FileServer_getLargeFileCompressed_Base,
public ::IceInternal::TwowayCallbackNC<T>
2744 typedef IceUtil::Handle<T> TPtr;
2746 typedef void (T::*Exception)(const ::Ice::Exception&);
2747 typedef void (T::*Sent)(bool);
2748 typedef void (T::*Response)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&);
2750 CallbackNC_FileServer_getLargeFileCompressed(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2751 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2756 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2758 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2759 ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*> ret;
2762 proxy->_iceI_end_getLargeFileCompressed(ret, result);
2764 catch(const ::Ice::Exception& ex)
2766 ::IceInternal::CallbackNC<T>::exception(result, ex);
2771 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2789template<
class T> Callback_FileServer_getLargeFileCompressedPtr
2790newCallback_FileServer_getLargeFileCompressed(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2792 return new CallbackNC_FileServer_getLargeFileCompressed<T>(instance, cb, excb, sentcb);
2803template<
class T> Callback_FileServer_getLargeFileCompressedPtr
2804newCallback_FileServer_getLargeFileCompressed(T* instance,
void (T::*cb)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&),
void (T::*excb)(const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2806 return new CallbackNC_FileServer_getLargeFileCompressed<T>(instance, cb, excb, sentcb);
2814template<
class T,
typename CT>
2815class Callback_FileServer_getLargeFileCompressed :
public Callback_FileServer_getLargeFileCompressed_Base,
public ::IceInternal::TwowayCallback<T, CT>
2819 typedef IceUtil::Handle<T> TPtr;
2821 typedef void (T::*Exception)(const ::Ice::Exception& ,
const CT&);
2822 typedef void (T::*Sent)(bool ,
const CT&);
2823 typedef void (T::*Response)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
const CT&);
2825 Callback_FileServer_getLargeFileCompressed(
const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2826 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2831 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2833 FileServerPrx proxy = FileServerPrx::uncheckedCast(result->getProxy());
2834 ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*> ret;
2837 proxy->_iceI_end_getLargeFileCompressed(ret, result);
2839 catch(const ::Ice::Exception& ex)
2841 ::IceInternal::Callback<T, CT>::exception(result, ex);
2846 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2865template<
class T,
typename CT> Callback_FileServer_getLargeFileCompressedPtr
2866newCallback_FileServer_getLargeFileCompressed(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2868 return new Callback_FileServer_getLargeFileCompressed<T, CT>(instance, cb, excb, sentcb);
2880template<
class T,
typename CT> Callback_FileServer_getLargeFileCompressedPtr
2881newCallback_FileServer_getLargeFileCompressed(T* instance,
void (T::*cb)(const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
const CT&),
void (T::*excb)(const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2883 return new Callback_FileServer_getLargeFileCompressed<T, CT>(instance, cb, excb, sentcb);
#define ICEPATCH2_API
Definition FileInfo.h:51
#define ICE_DEPRECATED_API(msg)
Definition Config.h:217
#define ICE_MEMBER(API)
Definition Config.h:177
T * get() const
Definition Handle.h:25
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Definition ProxyHandle.h:51
int Int
The mapping for the Slice int type.
Definition Config.h:54
::std::map< ::std::string, ::std::string > Context
A request context.
Definition Current.h:207
IceUtil::Int64 Long
The mapping for the Slice long type.
Definition Config.h:60
const Current emptyCurrent
A default-initialized Current instance.
::std::vector< Byte > ByteSeq
A sequence of bytes.
Definition BuiltinSequences.h:123
IceInternal::Handle< LocalObject > LocalObjectPtr
Definition LocalObjectF.h:17
unsigned char Byte
The mapping for the Slice byte type.
Definition Config.h:50
IceInternal::Handle< AsyncResult > AsyncResultPtr
Definition AsyncResultF.h:18
IceUtil::Shared * upCast(::Ice::AsyncResult *)