com.planet_ink.coffee_mud.Libraries
Class Sessions

java.lang.Object
  extended by com.planet_ink.coffee_mud.Libraries.StdLibrary
      extended by com.planet_ink.coffee_mud.Libraries.Sessions
All Implemented Interfaces:
CMObject, CMLibrary, SessionsList, java.lang.Cloneable, java.lang.Comparable<CMObject>, java.lang.Runnable

public class Sessions
extends StdLibrary
implements SessionsList


Field Summary
 java.util.Vector all
           
 
Constructor Summary
Sessions()
           
 
Method Summary
 boolean activate()
           
 void addElement(Session S)
           
 Session elementAt(int x)
           
 ThreadEngine.SupportThread getSupportThread()
           
 java.lang.String ID()
          The CoffeeMud Java Class ID shared by all instances of this object.
 void removeElement(Session S)
           
 void removeElementAt(int x)
           
 void run()
           
 boolean shutdown()
           
 int size()
           
 void stopSessionAtAllCosts(Session S)
           
 
Methods inherited from class com.planet_ink.coffee_mud.Libraries.StdLibrary
compareTo, copyOf, initializeClass, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject
copyOf, initializeClass, newInstance
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

all

public java.util.Vector all
Constructor Detail

Sessions

public Sessions()
Method Detail

ID

public java.lang.String ID()
Description copied from interface: CMObject
The CoffeeMud Java Class ID shared by all instances of this object. Unlike the Java Class name, this method does not include package information. However, it must return a String value unique to its class category in the ClassLoader. Class categories include Libraries, Common, Areas, Abilities, Behaviors, CharClasses, Commands, Exits Locales, MOBS, Races, WebMacros, Basic Items, Armor, Weapons, ClanItems, MiscTech. The name is typically identical to the class name.

Specified by:
ID in interface CMObject
Overrides:
ID in class StdLibrary
Returns:
the name of this class

getSupportThread

public ThreadEngine.SupportThread getSupportThread()
Specified by:
getSupportThread in interface CMLibrary
Overrides:
getSupportThread in class StdLibrary

elementAt

public Session elementAt(int x)
Specified by:
elementAt in interface SessionsList

size

public int size()
Specified by:
size in interface SessionsList

addElement

public void addElement(Session S)
Specified by:
addElement in interface SessionsList

removeElementAt

public void removeElementAt(int x)
Specified by:
removeElementAt in interface SessionsList

removeElement

public void removeElement(Session S)
Specified by:
removeElement in interface SessionsList

stopSessionAtAllCosts

public void stopSessionAtAllCosts(Session S)
Specified by:
stopSessionAtAllCosts in interface SessionsList

activate

public boolean activate()
Specified by:
activate in interface CMLibrary
Overrides:
activate in class StdLibrary

shutdown

public boolean shutdown()
Specified by:
shutdown in interface CMLibrary
Overrides:
shutdown in class StdLibrary

run

public void run()
Specified by:
run in interface java.lang.Runnable