Openwings API Documentation (v1.1)

net.openwings.availability
Interface VisibleListener


public interface VisibleListener

This interface describes a listener that may be registered with the Visible plugin to be notified of a change in a connection's online/offline status. The host is contained in each notification so that the same listener may be registered with multiple Visible instances.


Method Summary
 void invisible(java.net.InetAddress host)
          This method is called by Visible to notify the listener of a change in a connection's status from online to offline.
 void visible(java.net.InetAddress host)
          This method is called by the Visible implementation to notify the listener of a change in a connection's status from offline to online.
 

Method Detail

visible

public void visible(java.net.InetAddress host)
This method is called by the Visible implementation to notify the listener of a change in a connection's status from offline to online.

Parameters:
host - the host which has become visible

invisible

public void invisible(java.net.InetAddress host)
This method is called by Visible to notify the listener of a change in a connection's status from online to offline.


Openwings API Documentation (v1.1)