All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.commands.Broadcast

java.lang.Object
   |
   +----key.Atom
           |
           +----key.Command
                   |
                   +----key.commands.Broadcast

public class Broadcast
extends Command

Variable Index

 o messageCode
 o originatorCode
 o sometimesSpaceCode

Constructor Index

 o Broadcast()

Method Index

 o argument(String)
This method should be overridden if this command takes arguments.
 o generateEffect(Scape, Player, String, String)
 o getTo(Player)
 o placeCodes(Player, String)
 o run(Player, StringTokenizer, String, ModalCommand, InteractiveConnection, Flags)
If this method is not overridden, it calls the others.

Variables

 o originatorCode
 public static final Character originatorCode
 o messageCode
 public static final Character messageCode
 o sometimesSpaceCode
 public static final Character sometimesSpaceCode

Constructors

 o Broadcast
 public Broadcast()

Methods

 o argument
 public void argument(String args)
This method should be overridden if this command takes arguments.

Overrides:
argument in class Atom
 o run
 public synchronized void run(Player p,
                              StringTokenizer args,
                              String fullLine,
                              ModalCommand caller,
                              InteractiveConnection ic,
                              Flags flags) throws IOException
If this method is not overridden, it calls the others.

Overrides:
run in class Command
 o generateEffect
 protected Effect generateEffect(Scape to,
                                 Player p,
                                 String main,
                                 String self)
 o placeCodes
 protected void placeCodes(Player p,
                           String message)
 o getTo
 protected Scape getTo(Player p)

All Packages  Class Hierarchy  This Package  Previous  Next  Index