All Packages Class Hierarchy This Package Previous Next Index
Class key.commands.DirectedBroadcast
java.lang.Object
|
+----key.Atom
|
+----key.Command
|
+----key.commands.Broadcast
|
+----key.commands.DirectedBroadcast
- public class DirectedBroadcast
- extends Broadcast
- implements Repeatable
-
targetCode
-
-
DirectedBroadcast()
-
-
cause(DirectedBroadcast)
- Used mainly so that whisper can call and optimised
cause() method in DirectedBroadcast such that it
doesn't do a double splash.
-
execute(Player, String, Atom)
-
-
limitation(Player)
- Used mainly so that whisper can override it
to make it the players location - might
speed up matching a little
-
run(Player, StringTokenizer, Repeated, Command, InteractiveConnection, Flags)
-
-
run(Player, StringTokenizer, String, ModalCommand, InteractiveConnection, Flags)
- If this method is not overridden, it calls
the others.
targetCode
public static final Character targetCode
DirectedBroadcast
public DirectedBroadcast()
limitation
protected Scape limitation(Player p)
- Used mainly so that whisper can override it
to make it the players location - might
speed up matching a little
run
public 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 Broadcast
execute
protected void execute(Player p,
String message,
Atom t)
cause
protected void cause(DirectedBroadcast e)
- Used mainly so that whisper can call and optimised
cause() method in DirectedBroadcast such that it
doesn't do a double splash. (In whisper, we can
guarantee that if you splash the room, you've got
everyone you want)
run
public void run(Player p,
StringTokenizer args,
Repeated r,
Command caller,
InteractiveConnection ic,
Flags flags) throws IOException
All Packages Class Hierarchy This Package Previous Next Index