js.ea
Interface AdminEA

All Superinterfaces:
java.rmi.Remote
All Known Subinterfaces:
EventAgent
All Known Implementing Classes:
EventAgentImpl

public interface AdminEA
extends java.rmi.Remote

Provides methods for admimistration pruposes of the event agent.

Author:
Johannes Testori

Method Summary
 void informAddedNA(NetworkAgent na, boolean propagate)
          Informs about the adding of a network agent to the physical architecture.
 void informRemovedAll()
          Informs about the removal of all network agents of the physical architecture.
 void informRemovedNA(NetworkAgent na, boolean propagate)
          Informs aboout the removal of a network agent from the physical architecture.
 void remoteInit(java.util.HashSet eaList, EventAgent parent)
          When a new network agent has been added to the physical architecture, the event agent of the parent NA calls this method of the event agent of the new NA.
 

Method Detail

informAddedNA

void informAddedNA(NetworkAgent na,
                   boolean propagate)
                   throws java.rmi.RemoteException
Informs about the adding of a network agent to the physical architecture.

Parameters:
na - the network agent that has been added
propagate - true, if the information shall be propagated to other event agents
Throws:
java.rmi.RemoteException

informRemovedAll

void informRemovedAll()
                      throws java.rmi.RemoteException
Informs about the removal of all network agents of the physical architecture.

Throws:
java.rmi.RemoteException

informRemovedNA

void informRemovedNA(NetworkAgent na,
                     boolean propagate)
                     throws java.rmi.RemoteException
Informs aboout the removal of a network agent from the physical architecture.

Parameters:
na - the network agent that has been removed
propagate - true, if the information shall be propagated to other event agents
Throws:
java.rmi.RemoteException

remoteInit

void remoteInit(java.util.HashSet eaList,
                EventAgent parent)
                throws java.rmi.RemoteException
When a new network agent has been added to the physical architecture, the event agent of the parent NA calls this method of the event agent of the new NA.

Parameters:
eaList - list of all NAs in the physical architecture
parent - event agent of the parent NA
Throws:
java.rmi.RemoteException