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

📄 crypt_skel.h

📁 crypt_service源码,很值得研究!下来看看就知道!
💻 H
字号:
// **********************************************************************
//
// Generated by the ORBacus IDL-to-C++ Translator
//
// Copyright (c) 2005
// IONA Technologies, Inc.
// Waltham, MA, USA
//
// All Rights Reserved
//
// **********************************************************************

// Version: 4.3.2

#ifndef ___crypt_skel_h__
#define ___crypt_skel_h__

#include "crypt.h"


#ifndef OB_INTEGER_VERSION
#   error No ORBacus version defined! Is <OB/CORBA.h> included?
#endif

#ifndef OB_NO_VERSION_CHECK
#   if (OB_INTEGER_VERSION != 4030200L)
#       error ORBacus version mismatch!
#   endif
#endif

//
// IDL:CaesarAlgorithm:1.0
//
class POA_CaesarAlgorithm : virtual public PortableServer::ServantBase
{
    POA_CaesarAlgorithm(const POA_CaesarAlgorithm&);
    void operator=(const POA_CaesarAlgorithm&);

protected:

    //
    // IDL:CaesarAlgorithm/encrypt:1.0
    //
    void _OB_op_encrypt(OB::Upcall_ptr);

    //
    // IDL:CaesarAlgorithm/decrypt:1.0
    //
    void _OB_op_decrypt(OB::Upcall_ptr);

public:

    POA_CaesarAlgorithm() { }

    virtual ::CORBA::Boolean _is_a(const char*)
        throw(::CORBA::SystemException);

    virtual ::CORBA::RepositoryId _primary_interface(
        const PortableServer::ObjectId&,
        PortableServer::POA_ptr);

    CaesarAlgorithm_ptr _this();

    virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(
        PortableServer::POA_ptr,
        const PortableServer::ObjectId&);
    virtual void _OB_dispatch(OB::Upcall_ptr);

    //
    // IDL:CaesarAlgorithm/encrypt:1.0
    //
    virtual ::CaesarAlgorithm::charsequence* encrypt(const char* info,
                                                     ::CORBA::ULong k,
                                                     ::CORBA::ULong shift)
        throw(::CORBA::SystemException) = 0;

    //
    // IDL:CaesarAlgorithm/decrypt:1.0
    //
    virtual char* decrypt(const ::CaesarAlgorithm::charsequence& info,
                          ::CORBA::ULong k,
                          ::CORBA::ULong shift)
        throw(::CORBA::SystemException) = 0;
};

//
// IDL:CaesarAlgorithm:1.0
//
class OBDirectStubImpl_CaesarAlgorithm : virtual public OBStubImpl_CaesarAlgorithm,
                                         virtual public OB::DirectStubImpl
{
    OBDirectStubImpl_CaesarAlgorithm(const OBDirectStubImpl_CaesarAlgorithm&);
    void operator=(const OBDirectStubImpl_CaesarAlgorithm&);

protected:

#ifdef HAVE_VCPLUSPLUS_BUGS

    OBDirectStubImpl_CaesarAlgorithm() { }

#endif

    OBDirectStubImpl_CaesarAlgorithm(PortableServer::POA_ptr,
                                     const PortableServer::ObjectId&,
                                     PortableServer::ServantBase*);

    friend class POA_CaesarAlgorithm;

public:

    //
    // IDL:CaesarAlgorithm/encrypt:1.0
    //
    virtual ::CaesarAlgorithm::charsequence* encrypt(const char* info,
                                                     ::CORBA::ULong k,
                                                     ::CORBA::ULong shift);

    //
    // IDL:CaesarAlgorithm/decrypt:1.0
    //
    virtual char* decrypt(const ::CaesarAlgorithm::charsequence& info,
                          ::CORBA::ULong k,
                          ::CORBA::ULong shift);
};

#endif

⌨️ 快捷键说明

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