package geniusweb.party; import geniusweb.actions.Action; import geniusweb.connection.Connectable; import geniusweb.inform.Inform; /** * This is a interface definition for java-based party implementations that are * to be run on the PartiesServer. * * To implement a party to run on the PartiesServer, you must implement this and * also have a 0-arg constructor. Also we strongly recommend not to use any * static code blocks or do anything serious in the constructor. Instances of * your class may also be created only to call the getCapabilities function. * *
* Technical details: normally a Party will be spawned inside a PartiesFactory,
* and incoming/outgoing calls are routed through a websocket there.
*
*/
public interface Party extends Connectable