agentland.util.scheduler
Interface Scheduler

All Superinterfaces:
Agent, Remote
All Known Implementing Classes:
SchedulerAgent

public interface Scheduler
extends Agent


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 long addReminder(ReminderRecord reminder)
           
 Vector getMyReminders(AgentID aid)
           
 ReminderRecord getReminder(long id)
           
 boolean removeReminder(long id)
           
 boolean updateReminder(long id, ReminderRecord reminder)
           
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, getOldLogs, shutdown, startup, whereAreYou
 

Method Detail

addReminder

public long addReminder(ReminderRecord reminder)
                 throws RemoteException

updateReminder

public boolean updateReminder(long id,
                              ReminderRecord reminder)
                       throws RemoteException

removeReminder

public boolean removeReminder(long id)
                       throws RemoteException

getReminder

public ReminderRecord getReminder(long id)
                           throws RemoteException

getMyReminders

public Vector getMyReminders(AgentID aid)
                      throws RemoteException