prueba1.access
Class Notifier

java.lang.Object
  |
  +--prueba1.access.Notifier

public class Notifier
extends java.lang.Object


Constructor Summary
Notifier(java.lang.String _homeAddress, java.lang.String _hostingPlat, java.lang.String _agentName)
          This method is the constructor and saves the address of the platform which notifies and also gets a remote reference to it
 
Method Summary
 void notifyArrival(java.lang.String _agentName)
          This method notifies the remote platform that chases the agent that the agent has just arrived.
 void notifyMovement(java.lang.String _agentName, java.lang.String _newLocation)
          This method notifies the remote platform that is chasing the agent that the agent is going to move away.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notifier

public Notifier(java.lang.String _homeAddress,
                java.lang.String _hostingPlat,
                java.lang.String _agentName)
This method is the constructor and saves the address of the platform which notifies and also gets a remote reference to it
Method Detail

notifyMovement

public void notifyMovement(java.lang.String _agentName,
                           java.lang.String _newLocation)
This method notifies the remote platform that is chasing the agent that the agent is going to move away.

notifyArrival

public void notifyArrival(java.lang.String _agentName)
This method notifies the remote platform that chases the agent that the agent has just arrived.