?? patch.h
字號:
// **********************************************************************
//
// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
// Ice version 3.0.0
// Generated from file `Patch.ice'
#ifndef __Patch_h__
#define __Patch_h__
#include <Ice/LocalObjectF.h>
#include <Ice/ProxyF.h>
#include <Ice/ObjectF.h>
#include <Ice/Exception.h>
#include <Ice/LocalObject.h>
#include <Ice/Proxy.h>
#include <Ice/Object.h>
#include <Ice/Outgoing.h>
#include <Ice/Incoming.h>
#include <Ice/IncomingAsync.h>
#include <Ice/Direct.h>
#include <Ice/UserExceptionFactory.h>
#include <Ice/FactoryTable.h>
#include <Ice/StreamF.h>
#include <Ice/UndefSysMacros.h>
#ifndef ICE_IGNORE_VERSION
# if ICE_INT_VERSION / 100 != 300
# error Ice version mismatch!
# endif
# if ICE_INT_VERSION % 100 < 0
# error Ice patch level mismatch!
# endif
#endif
namespace IceProxy
{
namespace Patch
{
class UpdateServer;
bool operator==(const UpdateServer&, const UpdateServer&);
bool operator!=(const UpdateServer&, const UpdateServer&);
bool operator<(const UpdateServer&, const UpdateServer&);
}
}
namespace Patch
{
class UpdateServer;
bool operator==(const UpdateServer&, const UpdateServer&);
bool operator!=(const UpdateServer&, const UpdateServer&);
bool operator<(const UpdateServer&, const UpdateServer&);
}
namespace IceInternal
{
void incRef(::Patch::UpdateServer*);
void decRef(::Patch::UpdateServer*);
void incRef(::IceProxy::Patch::UpdateServer*);
void decRef(::IceProxy::Patch::UpdateServer*);
}
namespace Patch
{
typedef ::IceInternal::Handle< ::Patch::UpdateServer> UpdateServerPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::Patch::UpdateServer> UpdateServerPrx;
void __write(::IceInternal::BasicStream*, const UpdateServerPrx&);
void __read(::IceInternal::BasicStream*, UpdateServerPrx&);
void __write(::IceInternal::BasicStream*, const UpdateServerPtr&);
void __patch__UpdateServerPtr(void*, ::Ice::ObjectPtr&);
}
namespace Patch
{
typedef ::std::vector< ::Ice::Byte> ByteSeq;
class myException : public ::Ice::UserException
{
public:
myException() {};
myException(::Ice::Int, const ::std::string&);
virtual const ::std::string ice_name() const;
virtual ::Ice::Exception* ice_clone() const;
virtual void ice_throw() const;
static const ::IceInternal::UserExceptionFactoryPtr& ice_factory();
::Ice::Int iErrCode;
::std::string errDescription;
virtual void __write(::IceInternal::BasicStream*) const;
virtual void __read(::IceInternal::BasicStream*, bool);
virtual void __write(const ::Ice::OutputStreamPtr&) const;
virtual void __read(const ::Ice::InputStreamPtr&, bool);
};
static myException __myException_init;
}
namespace Patch
{
class AMD_UpdateServer_GetDataFromFile : virtual public ::IceUtil::Shared
{
public:
virtual void ice_response(const ::Patch::ByteSeq&, const ::Patch::ByteSeq&, ::Ice::Int) = 0;
virtual void ice_exception(const ::Ice::Exception&) = 0;
virtual void ice_exception(const ::std::exception&) = 0;
virtual void ice_exception() = 0;
};
typedef ::IceUtil::Handle< ::Patch::AMD_UpdateServer_GetDataFromFile> AMD_UpdateServer_GetDataFromFilePtr;
}
namespace IceAsync
{
namespace Patch
{
class AMD_UpdateServer_GetDataFromFile : public ::Patch::AMD_UpdateServer_GetDataFromFile, public ::IceInternal::IncomingAsync
{
public:
AMD_UpdateServer_GetDataFromFile(::IceInternal::Incoming&);
virtual void ice_response(const ::Patch::ByteSeq&, const ::Patch::ByteSeq&, ::Ice::Int);
virtual void ice_exception(const ::Ice::Exception&);
virtual void ice_exception(const ::std::exception&);
virtual void ice_exception();
};
}
}
namespace IceProxy
{
namespace Patch
{
class UpdateServer : virtual public ::IceProxy::Ice::Object
{
public:
bool Init();
bool Init(const ::Ice::Context&);
bool isUpdate(const ::std::string&);
bool isUpdate(const ::std::string&, const ::Ice::Context&);
void GetFileInfo(::std::string&, ::Ice::Long&, ::std::string&, ::Patch::ByteSeq&);
void GetFileInfo(::std::string&, ::Ice::Long&, ::std::string&, ::Patch::ByteSeq&, const ::Ice::Context&);
void GetDataFromFile(::Ice::Int, ::Patch::ByteSeq&, ::Patch::ByteSeq&, ::Ice::Int&);
void GetDataFromFile(::Ice::Int, ::Patch::ByteSeq&, ::Patch::ByteSeq&, ::Ice::Int&, const ::Ice::Context&);
bool shutdown();
bool shutdown(const ::Ice::Context&);
static const ::std::string& ice_staticId();
private:
virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM();
virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD();
};
}
}
namespace IceDelegate
{
namespace Patch
{
class UpdateServer : virtual public ::IceDelegate::Ice::Object
{
public:
virtual bool Init(const ::Ice::Context&) = 0;
virtual bool isUpdate(const ::std::string&, const ::Ice::Context&) = 0;
virtual void GetFileInfo(::std::string&, ::Ice::Long&, ::std::string&, ::Patch::ByteSeq&, const ::Ice::Context&) = 0;
virtual void GetDataFromFile(::Ice::Int, ::Patch::ByteSeq&, ::Patch::ByteSeq&, ::Ice::Int&, const ::Ice::Context&) = 0;
virtual bool shutdown(const ::Ice::Context&) = 0;
};
}
}
namespace IceDelegateM
{
namespace Patch
{
class UpdateServer : virtual public ::IceDelegate::Patch::UpdateServer,
virtual public ::IceDelegateM::Ice::Object
{
public:
virtual bool Init(const ::Ice::Context&);
virtual bool isUpdate(const ::std::string&, const ::Ice::Context&);
virtual void GetFileInfo(::std::string&, ::Ice::Long&, ::std::string&, ::Patch::ByteSeq&, const ::Ice::Context&);
virtual void GetDataFromFile(::Ice::Int, ::Patch::ByteSeq&, ::Patch::ByteSeq&, ::Ice::Int&, const ::Ice::Context&);
virtual bool shutdown(const ::Ice::Context&);
};
}
}
namespace IceDelegateD
{
namespace Patch
{
class UpdateServer : virtual public ::IceDelegate::Patch::UpdateServer,
virtual public ::IceDelegateD::Ice::Object
{
public:
virtual bool Init(const ::Ice::Context&);
virtual bool isUpdate(const ::std::string&, const ::Ice::Context&);
virtual void GetFileInfo(::std::string&, ::Ice::Long&, ::std::string&, ::Patch::ByteSeq&, const ::Ice::Context&);
virtual void GetDataFromFile(::Ice::Int, ::Patch::ByteSeq&, ::Patch::ByteSeq&, ::Ice::Int&, const ::Ice::Context&);
virtual bool shutdown(const ::Ice::Context&);
};
}
}
namespace Patch
{
class UpdateServer : virtual public ::Ice::Object
{
public:
virtual ::Ice::ObjectPtr ice_clone() const;
virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
static const ::std::string& ice_staticId();
virtual bool Init(const ::Ice::Current& = ::Ice::Current()) = 0;
::IceInternal::DispatchStatus ___Init(::IceInternal::Incoming&, const ::Ice::Current&);
virtual bool isUpdate(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const = 0;
::IceInternal::DispatchStatus ___isUpdate(::IceInternal::Incoming&, const ::Ice::Current&) const;
virtual void GetFileInfo(::std::string&, ::Ice::Long&, ::std::string&, ::Patch::ByteSeq&, const ::Ice::Current& = ::Ice::Current()) = 0;
::IceInternal::DispatchStatus ___GetFileInfo(::IceInternal::Incoming&, const ::Ice::Current&);
virtual void GetDataFromFile_async(const ::Patch::AMD_UpdateServer_GetDataFromFilePtr&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0;
::IceInternal::DispatchStatus ___GetDataFromFile(::IceInternal::Incoming&, const ::Ice::Current&);
virtual bool shutdown(const ::Ice::Current& = ::Ice::Current()) = 0;
::IceInternal::DispatchStatus ___shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);
virtual void __write(::IceInternal::BasicStream*) const;
virtual void __read(::IceInternal::BasicStream*, bool);
virtual void __write(const ::Ice::OutputStreamPtr&) const;
virtual void __read(const ::Ice::InputStreamPtr&, bool);
};
void __patch__UpdateServerPtr(void*, ::Ice::ObjectPtr&);
}
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -