Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.notification
Class CommandNotificationHandlerImpl

java.lang.Object
  extended by 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

Constructor Summary
CommandNotificationHandlerImpl()
           
 
Method Summary
 void execute(CommandNotificationAction action, Map<String,String> cmdargs)
          Executes the command, given by the commandDescriptor of the action.
 String getActionType()
          Gets the type of this handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandNotificationHandlerImpl

public CommandNotificationHandlerImpl()
Method Detail

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.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.