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

📄 bank_skel.h

📁 用interbus作为中间件的工具模拟银行自动取款机ATM.
💻 H
字号:
// **************************************************************************
//
// This File Is Automatically Generated by the InterBusIDL-to-C++ Compiler !
//
// Copyright (c) 2000
// Intervision Software Co., Ltd.
// Haidian District, Beijing.
//
// All Rights Reserved
//
// *************************************************************************

// Version: 4.0.0

#ifndef ___bank_skel_h__
#define ___bank_skel_h__

#include <bank.h>
#include <STAR/SkelForServerRequest.h>

//
// Interface declare ::BankAccount
//
class POA_BankAccount : virtual public PortableServer::ServantBase,
                        virtual public STAR::SkelForServerRequest
{
    POA_BankAccount(const POA_BankAccount&);
    void operator=(const POA_BankAccount&);

protected:

    //
    // ProtectedOperation declare log
    //
    static void _STAR_op_log(PortableServer::ServantBase *,STAR::Upcall_ptr);

    //
    // ProtectedOperation declare authentificate
    //
    static void _STAR_op_authentificate(PortableServer::ServantBase *,STAR::Upcall_ptr);

    //
    // ProtectedOperation declare requery
    //
    static void _STAR_op_requery(PortableServer::ServantBase *,STAR::Upcall_ptr);

    //
    // ProtectedOperation declare withdraw
    //
    static void _STAR_op_withdraw(PortableServer::ServantBase *,STAR::Upcall_ptr);

    //
    // ProtectedOperation declare deposit
    //
    static void _STAR_op_deposit(PortableServer::ServantBase *,STAR::Upcall_ptr);

    //
    // ProtectedOperation declare alterPAW
    //
    static void _STAR_op_alterPAW(PortableServer::ServantBase *,STAR::Upcall_ptr);

    //
    // ProtectedOperation declare leave
    //
    static void _STAR_op_leave(PortableServer::ServantBase *,STAR::Upcall_ptr);

public:

    POA_BankAccount() { }

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

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

    BankAccount_ptr _this();

    virtual void _STAR_dispatch(STAR::Upcall_ptr);

    //
    // Operation declare log
    //
    virtual CORBA::Boolean log(const char* id)
        throw(CORBA::SystemException) = 0;

    //
    // Operation declare authentificate
    //
    virtual CORBA::Boolean authentificate(const char* password)
        throw(CORBA::SystemException) = 0;

    //
    // Operation declare requery
    //
    virtual CORBA::Double requery()
        throw(CORBA::SystemException) = 0;

    //
    // Operation declare withdraw
    //
    virtual CORBA::Boolean withdraw(CORBA::Short nMoney)
        throw(CORBA::SystemException) = 0;

    //
    // Operation declare deposit
    //
    virtual CORBA::Boolean deposit(CORBA::Short nMoney)
        throw(CORBA::SystemException) = 0;

    //
    // Operation declare alterPAW
    //
    virtual CORBA::Boolean alterPAW(const char* strPAW)
        throw(CORBA::SystemException) = 0;

    //
    // Operation declare leave
    //
    virtual CORBA::Boolean leave()
        throw(CORBA::SystemException) = 0;
};

#endif

⌨️ 快捷键说明

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