Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.sysactivity
Class SystemActivityNotifications.NotificationsDelegate

java.lang.Object
  extended by net.java.sip.communicator.impl.sysactivity.SystemActivityNotifications.NotificationsDelegate
Direct Known Subclasses:
SystemActivityNotificationsServiceImpl
Enclosing class:
SystemActivityNotifications

public abstract static class SystemActivityNotifications.NotificationsDelegate
extends Object

Delegate class to be notified for changes.


Constructor Summary
SystemActivityNotifications.NotificationsDelegate()
           
 
Method Summary
abstract  void notify(int type)
          Callback method when receiving notifications.
abstract  void notifyNetworkChange(int family, long luidIndex, String name, long type, boolean connected)
          Callback method when receiving special network notifications.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemActivityNotifications.NotificationsDelegate

public SystemActivityNotifications.NotificationsDelegate()
Method Detail

notify

public abstract void notify(int type)
Callback method when receiving notifications.

Parameters:
type -

notifyNetworkChange

public abstract void notifyNetworkChange(int family,
                                         long luidIndex,
                                         String name,
                                         long type,
                                         boolean connected)
Callback method when receiving special network notifications.

Parameters:
family - family of network change (ipv6, ipv4)
luidIndex - unique index of interface
name - name of the interface
type - of the interface
connected - whether interface is connected or not.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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