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

📄 account.java

📁 java rmi技术实例
💻 JAVA
字号:
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Account extends Remote
    {
    // Add method to return master BankManager
    public BankManager getBankManager()
       throws RemoteException;
        
    // Add method to return Client of this account
    public Client getClient()
       throws RemoteException;
        
    // Add method to return balance of this account
    public long   getBalance()
       throws RemoteException;
    
    // Add method to withdraw cash from this account
    public long   getCash( long amount )
        throws RemoteException;
    }

⌨️ 快捷键说明

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