⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clientclerk.h

📁 GiPS是一个面向数据密集型应用的分布式文件系统
💻 H
字号:
// **********************************************************************
//
// Copyright (c) 2003-2007 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.2.1
// Generated from file `ClientClerk.ice'

#ifndef __ClientClerk_h__
#define __ClientClerk_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/Direct.h>
#include <Ice/StreamF.h>
#include <Ice/UndefSysMacros.h>

#ifndef ICE_IGNORE_VERSION
#   if ICE_INT_VERSION / 100 != 302
#       error Ice version mismatch!
#   endif
#   if ICE_INT_VERSION % 100 > 50
#       error Beta header file detected
#   endif
#   if ICE_INT_VERSION % 100 < 1
#       error Ice patch level mismatch!
#   endif
#endif

namespace IceProxy
{

namespace ClientClerk
{

class FileIOManager;
bool operator==(const FileIOManager&, const FileIOManager&);
bool operator!=(const FileIOManager&, const FileIOManager&);
bool operator<(const FileIOManager&, const FileIOManager&);
bool operator<=(const FileIOManager&, const FileIOManager&);
bool operator>(const FileIOManager&, const FileIOManager&);
bool operator>=(const FileIOManager&, const FileIOManager&);

}

}

namespace ClientClerk
{

class FileIOManager;
bool operator==(const FileIOManager&, const FileIOManager&);
bool operator!=(const FileIOManager&, const FileIOManager&);
bool operator<(const FileIOManager&, const FileIOManager&);
bool operator<=(const FileIOManager&, const FileIOManager&);
bool operator>(const FileIOManager&, const FileIOManager&);
bool operator>=(const FileIOManager&, const FileIOManager&);

}

namespace IceInternal
{

void incRef(::ClientClerk::FileIOManager*);
void decRef(::ClientClerk::FileIOManager*);

void incRef(::IceProxy::ClientClerk::FileIOManager*);
void decRef(::IceProxy::ClientClerk::FileIOManager*);

}

namespace ClientClerk
{

typedef ::IceInternal::Handle< ::ClientClerk::FileIOManager> FileIOManagerPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::ClientClerk::FileIOManager> FileIOManagerPrx;

void __write(::IceInternal::BasicStream*, const FileIOManagerPrx&);
void __read(::IceInternal::BasicStream*, FileIOManagerPrx&);
void __write(::IceInternal::BasicStream*, const FileIOManagerPtr&);
void __patch__FileIOManagerPtr(void*, ::Ice::ObjectPtr&);

void __addObject(const FileIOManagerPtr&, ::IceInternal::GCCountMap&);
bool __usesClasses(const FileIOManagerPtr&);
void __decRefUnsafe(const FileIOManagerPtr&);
void __clearHandleUnsafe(FileIOManagerPtr&);

}

namespace ClientClerk
{

typedef ::std::vector< ::Ice::Byte> BinaryData;

class __U__BinaryData { };

}

namespace IceProxy
{

namespace ClientClerk
{

class FileIOManager : virtual public ::IceProxy::Ice::Object
{
public:

    bool writeFile(const ::std::string& blockIndex, const ::ClientClerk::BinaryData& data)
    {
        return writeFile(blockIndex, data, 0);
    }
    bool writeFile(const ::std::string& blockIndex, const ::ClientClerk::BinaryData& data, const ::Ice::Context& __ctx)
    {
        return writeFile(blockIndex, data, &__ctx);
    }
    
private:

    bool writeFile(const ::std::string&, const ::ClientClerk::BinaryData&, const ::Ice::Context*);
    
public:

    bool readFile(const ::std::string& blockIndex, ::ClientClerk::BinaryData& data)
    {
        return readFile(blockIndex, data, 0);
    }
    bool readFile(const ::std::string& blockIndex, ::ClientClerk::BinaryData& data, const ::Ice::Context& __ctx)
    {
        return readFile(blockIndex, data, &__ctx);
    }
    
private:

    bool readFile(const ::std::string&, ::ClientClerk::BinaryData&, const ::Ice::Context*);
    
public:
    
    static const ::std::string& ice_staticId();

private: 

    virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM();
    virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD();
};

}

}

namespace IceDelegate
{

namespace ClientClerk
{

class FileIOManager : virtual public ::IceDelegate::Ice::Object
{
public:

    virtual bool writeFile(const ::std::string&, const ::ClientClerk::BinaryData&, const ::Ice::Context*) = 0;

    virtual bool readFile(const ::std::string&, ::ClientClerk::BinaryData&, const ::Ice::Context*) = 0;
};

}

}

namespace IceDelegateM
{

namespace ClientClerk
{

class FileIOManager : virtual public ::IceDelegate::ClientClerk::FileIOManager,
                      virtual public ::IceDelegateM::Ice::Object
{
public:

    virtual bool writeFile(const ::std::string&, const ::ClientClerk::BinaryData&, const ::Ice::Context*);

    virtual bool readFile(const ::std::string&, ::ClientClerk::BinaryData&, const ::Ice::Context*);
};

}

}

namespace IceDelegateD
{

namespace ClientClerk
{

class FileIOManager : virtual public ::IceDelegate::ClientClerk::FileIOManager,
                      virtual public ::IceDelegateD::Ice::Object
{
public:

    virtual bool writeFile(const ::std::string&, const ::ClientClerk::BinaryData&, const ::Ice::Context*);

    virtual bool readFile(const ::std::string&, ::ClientClerk::BinaryData&, const ::Ice::Context*);
};

}

}

namespace ClientClerk
{

class FileIOManager : virtual public ::Ice::Object
{
public:

    typedef FileIOManagerPrx ProxyType;
    typedef FileIOManagerPtr PointerType;
    
    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 writeFile(const ::std::string&, const ::ClientClerk::BinaryData&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::IceInternal::DispatchStatus ___writeFile(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual bool readFile(const ::std::string&, ::ClientClerk::BinaryData&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::IceInternal::DispatchStatus ___readFile(::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__FileIOManagerPtr(void*, ::Ice::ObjectPtr&);

}

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -