?? agenthost.java
字號:
/*
* Copyright 1999 by dreamBean Software,
* All rights reserved.
*/
package masteringrmi.agent.interfaces;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Collection;
/**
* This is the interface that all agent hosts must implement.
*
* @author Rickard 謆erg
* @version $Revision:$
*/
public interface AgentHost
extends Remote
{
// Public --------------------------------------------------------
public Agent addAgent(Agent agent)
throws RemoteException;
public Agent removeAgent(Agent agent)
throws RemoteException, NoSuchAgentException;
public Collection getAgents()
throws RemoteException;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -