agentland.info
Interface InfoManager

All Superinterfaces:
Agent, Good, Managed, Remote, Spy, WebInterfaceable
All Known Implementing Classes:
InfoManagerAgent

public interface InfoManager
extends Managed, WebInterfaceable


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 Vector addAppointment(Appointment a)
           
 int addPerson(String name)
           
 Schedule getCalendar()
           
 String getEmail()
           
 String getFirstName()
           
 String getHomeAddress()
           
 String getHomeNumber()
           
 String getLastName()
           
 String getName()
           
 String getOfficeAddress()
           
 String getOfficeNumber()
           
 Object getOther(Object key)
           
 String getReminders()
           
 String getURL()
           
 void killTable()
           
 String reminder(IMRecord imr)
          reminder called by scheduler agent when it's time for a reminder.
 Vector removeApp(int index, int number)
           
 int removePerson(String name)
           
 void setCalendar()
           
 void setEmail(String email)
           
 void setFirstName(String firstName)
           
 void setHomeAddress(String homeAddress)
           
 void setHomeNumber(String homeNumber)
           
 void setLastName(String lastName)
           
 void setOfficeAddress(String officeAddress)
           
 void setOfficeNumber(String officeNumber)
           
 void setOther(Object key, Object value)
           
 void setURL(String url)
           
 String signIn(String name)
           
 void signOut(String name)
           
 
Methods inherited from interface agentland.resource.Managed
getNeed, replace, replace, resources, yank, yank
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 
Methods inherited from interface agentland.util.Spy
tell
 
Methods inherited from interface agentland.web.WebInterfaceable
webCall
 

Method Detail

getName

public String getName()
               throws RemoteException

addPerson

public int addPerson(String name)
              throws RemoteException

removePerson

public int removePerson(String name)
                 throws RemoteException

getReminders

public String getReminders()
                    throws RemoteException

getCalendar

public Schedule getCalendar()
                     throws RemoteException

addAppointment

public Vector addAppointment(Appointment a)
                      throws RemoteException

setCalendar

public void setCalendar()
                 throws RemoteException

getFirstName

public String getFirstName()
                    throws RemoteException

setFirstName

public void setFirstName(String firstName)
                  throws RemoteException

getLastName

public String getLastName()
                   throws RemoteException

setLastName

public void setLastName(String lastName)
                 throws RemoteException

getEmail

public String getEmail()
                throws RemoteException

setEmail

public void setEmail(String email)
              throws RemoteException

getURL

public String getURL()
              throws RemoteException

setURL

public void setURL(String url)
            throws RemoteException

getHomeNumber

public String getHomeNumber()
                     throws RemoteException

setHomeNumber

public void setHomeNumber(String homeNumber)
                   throws RemoteException

getOfficeNumber

public String getOfficeNumber()
                       throws RemoteException

setOfficeNumber

public void setOfficeNumber(String officeNumber)
                     throws RemoteException

getHomeAddress

public String getHomeAddress()
                      throws RemoteException

setHomeAddress

public void setHomeAddress(String homeAddress)
                    throws RemoteException

getOfficeAddress

public String getOfficeAddress()
                        throws RemoteException

setOfficeAddress

public void setOfficeAddress(String officeAddress)
                      throws RemoteException

getOther

public Object getOther(Object key)
                throws RemoteException

setOther

public void setOther(Object key,
                     Object value)
              throws RemoteException

signIn

public String signIn(String name)
              throws RemoteException

signOut

public void signOut(String name)
             throws RemoteException

killTable

public void killTable()
               throws RemoteException

removeApp

public Vector removeApp(int index,
                        int number)
                 throws RemoteException

reminder

public String reminder(IMRecord imr)
                throws RemoteException
reminder called by scheduler agent when it's time for a reminder.
Parameters:
imr - an IMRecord the reminder message
Returns:
a String the sent message
Throws:
RemoteException - if an error occurs