org.d_haven.event.command

Interface Command

public interface Command

A Command is a specific type of event that denotes an asynchronous execution unit that must be performed by the DefaultCommandManager.

The interface design is heavily influenced by Matt Welsh's SandStorm server, his demonstration of the SEDA architecture. We have deviated where we felt the design differences where better.

Author: Berin Loritsch

Method Summary
voidexecute()
The code to execute when the CommandManager acts on it.

Method Detail

execute

public void execute()
The code to execute when the CommandManager acts on it.

Throws: Exception if there was a problem with the exception.