org.eclipse.ecf.osgi.services.discovery
Class LoggingHostDiscoveryListener

java.lang.Object
  extended by org.eclipse.ecf.osgi.services.discovery.AbstractDiscoveryListener
      extended by org.eclipse.ecf.osgi.services.discovery.LoggingHostDiscoveryListener
All Implemented Interfaces:
IHostDiscoveryListener

public class LoggingHostDiscoveryListener
extends AbstractDiscoveryListener
implements IHostDiscoveryListener


Field Summary
 
Fields inherited from class org.eclipse.ecf.osgi.services.discovery.AbstractDiscoveryListener
logLevel
 
Constructor Summary
LoggingHostDiscoveryListener()
           
LoggingHostDiscoveryListener(int logLevel)
           
 
Method Summary
 void publish(org.osgi.framework.ServiceReference publicationServiceReference, IServiceInfo serviceInfo)
           
 void unpublish(org.osgi.framework.ServiceReference publicationServiceReference, IServiceInfo serviceInfo)
           
 
Methods inherited from class org.eclipse.ecf.osgi.services.discovery.AbstractDiscoveryListener
createTabs, getLogLevel, log, printBytes, printServiceID, printServiceInfo, printServiceProperties, printServicePropertyBytes, printServicePropertyString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingHostDiscoveryListener

public LoggingHostDiscoveryListener(int logLevel)

LoggingHostDiscoveryListener

public LoggingHostDiscoveryListener()
Method Detail

publish

public void publish(org.osgi.framework.ServiceReference publicationServiceReference,
                    IServiceInfo serviceInfo)
Specified by:
publish in interface IHostDiscoveryListener

unpublish

public void unpublish(org.osgi.framework.ServiceReference publicationServiceReference,
                      IServiceInfo serviceInfo)
Specified by:
unpublish in interface IHostDiscoveryListener