agentland.device.phone
Interface Phone

All Superinterfaces:
Agent, Good, GuiEnabled, Remote, Spy
All Known Implementing Classes:
PhoneAgent

public interface Phone
extends Good, GuiEnabled


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 void answer()
           
 String cleanUpNumber(String number)
           
 Vector getCallLog()
           
 int getStatus()
           
 String getStatusString()
           
 void hangUp()
           
 void makeACall(String number)
           
 void resetCallLog()
           
 void sendCommand(String cmd)
           
 
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.gui.GuiEnabled
getGuiMaker
 

Method Detail

cleanUpNumber

public String cleanUpNumber(String number)
                     throws RemoteException

makeACall

public void makeACall(String number)
               throws RemoteException

hangUp

public void hangUp()
            throws RemoteException

answer

public void answer()
            throws RemoteException

getCallLog

public Vector getCallLog()
                  throws RemoteException

resetCallLog

public void resetCallLog()
                  throws RemoteException

getStatus

public int getStatus()
              throws RemoteException

getStatusString

public String getStatusString()
                       throws RemoteException

sendCommand

public void sendCommand(String cmd)
                 throws RemoteException