net.java.sip.communicator.impl.notification
Class CommandNotificationHandlerImpl
java.lang.Object
net.java.sip.communicator.impl.notification.CommandNotificationHandlerImpl
- All Implemented Interfaces:
- CommandNotificationHandler, NotificationHandler
public class CommandNotificationHandlerImpl
- extends Object
- implements CommandNotificationHandler
An implementation of the CommandNotificationHandler interface.
- Author:
- Yana Stamcheva
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandNotificationHandlerImpl
public CommandNotificationHandlerImpl()
getActionType
public String getActionType()
- Gets the type of this handler.
- Specified by:
getActionType in interface NotificationHandler
- Returns:
- the type of this handler.
execute
public void execute(CommandNotificationAction action,
Map<String,String> cmdargs)
- Executes the command, given by the commandDescriptor of the
action.
- Specified by:
execute in interface CommandNotificationHandler
- Parameters:
action - the action to act upon.cmdargs - command-line arguments.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.