com.ls.lars.communication
Interface IRMIListener
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- RMIListener
- public interface IRMIListener
- extends Remote
remote interface for RMI listeners
- Version:
- $Revision: 1.5 $
- Author:
- Last modified by $Author: MHeitz $
- See Also:
RMIListener
Method Summary |
boolean |
createConnection(String agentName)
creates a new connection with the sepcified agentName
(After the remote agent connects to the platform he requests a own RMI connection by calling this remote
method). |
void |
setLog(ILogger log)
Sets the ILogger for the listener. |
createConnection
public boolean createConnection(String agentName)
throws RemoteException
- creates a new connection with the sepcified agentName
(After the remote agent connects to the platform he requests a own RMI connection by calling this remote
method).
- Parameters:
agentName
- the specified agentName to connect with- Returns:
- true if connection is successful
- Throws:
RemoteException
- if there is a problem with the network or something else
setLog
public void setLog(ILogger log)
throws RemoteException
- Sets the ILogger for the listener. Should be called directly after creating the IRMIListener implementation.
- Parameters:
log
- reference to the ILogger of the owning agent- Throws:
RemoteException
- if there is a problem with the network or something else