Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

java.lang.Object
  extended by net.java.sip.communicator.impl.notification.LogMessageNotificationHandlerImpl
All Implemented Interfaces:
LogMessageNotificationHandler, NotificationHandler

public class LogMessageNotificationHandlerImpl
extends Object
implements LogMessageNotificationHandler

An implementation of the LogMessageNotificationHandler interface.

Author:
Yana Stamcheva

Constructor Summary
LogMessageNotificationHandlerImpl()
           
 
Method Summary
 String getActionType()
          Gets the type of this handler.
 void logMessage(LogMessageNotificationAction action, String message)
          Logs a message through the sip communicator Logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogMessageNotificationHandlerImpl

public LogMessageNotificationHandlerImpl()
Method Detail

getActionType

public String getActionType()
Gets the type of this handler.

Specified by:
getActionType in interface NotificationHandler
Returns:
the type of this handler.

logMessage

public void logMessage(LogMessageNotificationAction action,
                       String message)
Logs a message through the sip communicator Logger.

Specified by:
logMessage in interface LogMessageNotificationHandler
Parameters:
action - the action to act upon
message - the message coming from the event

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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