Commit dcb00a9a authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Addded support for first service administration commands. JM-637

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3750 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6ede124a
......@@ -15,6 +15,7 @@ import org.dom4j.Element;
import org.jivesoftware.wildfire.IQHandlerInfo;
import org.jivesoftware.wildfire.XMPPServer;
import org.jivesoftware.wildfire.auth.UnauthorizedException;
import org.jivesoftware.wildfire.commands.admin.*;
import org.jivesoftware.wildfire.disco.*;
import org.jivesoftware.wildfire.forms.spi.XDataFormImpl;
import org.jivesoftware.wildfire.handler.IQHandler;
......@@ -179,7 +180,11 @@ public class AdHocCommandHandler extends IQHandler
private void addDefaultCommands() {
// TODO Complete when out of the box commands are implemented
//addCommand(new TimeCommand());
addCommand(new GetNumberActiveUsers());
addCommand(new GetNumberOnlineUsers());
addCommand(new GetNumberUserSessions());
addCommand(new GetListActiveUsers());
addCommand(new GetUsersPresence());
}
private void startCommand(AdHocCommand command) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment