agentland.device.intelliCD.jukebox
Class SongListHandlerAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.util.GoodAgent
|
+--agentland.device.intelliCD.CollectionHandlerAgent
|
+--agentland.device.intelliCD.jukebox.SongListHandlerAgent
- All Implemented Interfaces:
- Agent, CollectionHandler, Good, MetagluePrimitives, Remote, Serializable, SongListHandler, Spy
- public class SongListHandlerAgent
- extends CollectionHandlerAgent
- implements SongListHandler
- See Also:
- Serialized Form
Methods inherited from class agentland.device.intelliCD.CollectionHandlerAgent |
add, add, clear, getCollection, informAll, remove, setCollection, setConnection, setContainerAuthor, setContainerTitle, setSongAuthor, setSongDuration, setSongDuration, setSongTitle, updateContainer, updateSong |
Methods inherited from class agentland.util.GoodAgent |
addSpy, addSpy, alert, alertString, beep, error, getAlert, getHistory, getHistoryElement, getPersistentMap, log, notify, removeSpy, removeSpy, resetHistory, safeRely, safeRely, safeRely, setNiceLogName, tell |
Methods inherited from class metaglue.AgentAgent |
addMonitor, alive, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getProperties, getSociety, log, log, lookupClass, obtainMetaglueAgent, obtainMetaglueAgent, obtainMetaglueAgentByName, reliesOn, reliesOn, reliesOn, reliesOnSynch, removeFrozen, replaceExceptionHandler, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, whereAreYou |
Methods inherited from interface agentland.device.intelliCD.CollectionHandler |
add, add, clear, getCollection, remove, setCollection, setConnection, setContainerAuthor, setContainerTitle, setSongAuthor, setSongDuration, setSongDuration, setSongTitle |
Methods inherited from interface agentland.util.Spy |
tell |
SongListHandlerAgent
public SongListHandlerAgent()
throws RemoteException
init
protected void init()
- Overrides:
init
in class CollectionHandlerAgent
myList
protected SongList myList()
getList
public SongList getList()
- Specified by:
getList
in interface SongListHandler
getName
public String getName()
- Specified by:
getName
in interface SongListHandler
scramble
public boolean scramble(SongContainerElement el,
boolean recursive)
- Specified by:
scramble
in interface SongListHandler
flatten
public boolean flatten(SongContainerElement el,
boolean recursive)
- Specified by:
flatten
in interface SongListHandler
getNextSong
public Song getNextSong()
- Specified by:
getNextSong
in interface SongListHandler
getElementAt
public SongContainerElement getElementAt(int i)
- Specified by:
getElementAt
in interface SongListHandler
size
public int size()
- Specified by:
size
in interface SongListHandler
toString
public String toString()
- Overrides:
toString
in class RemoteObject