public class AdHocCommandManager extends Object
| Constructor and Description |
|---|
AdHocCommandManager() |
| Modifier and Type | Method and Description |
|---|---|
Collection<AdHocCommand> |
getAllCommands()
Method description
|
boolean |
hasCommand(String node)
Method checks if exists implementation for this command in this
CommandManager
|
tigase.server.Packet |
process(tigase.server.Packet packet)
Method description
|
void |
registerCommand(AdHocCommand command)
Method description
|
public Collection<AdHocCommand> getAllCommands()
public boolean hasCommand(String node)
node - public tigase.server.Packet process(tigase.server.Packet packet)
throws AdHocCommandException
element - AdHocCommandExceptionpublic void registerCommand(AdHocCommand command)
command - Copyright © 2008–2014 Tigase. All rights reserved.