synergynetframework.appsystem.services.net.landiscovery.multicast
Class TestServer

java.lang.Object
  extended by synergynetframework.appsystem.services.net.landiscovery.multicast.TestServer
All Implemented Interfaces:
ServiceDiscoveryListener

public class TestServer
extends java.lang.Object
implements ServiceDiscoveryListener

The Class TestServer.


Constructor Summary
TestServer()
          Instantiates a new test server.
 
Method Summary
static void main(java.lang.String[] args)
          The main method.
 void serviceAvailable(ServiceDescriptor descriptor)
          Service available.
 void serviceRemoved(ServiceDescriptor descriptor)
          Service removed.
 void serviceReply(ServiceDescription descriptor)
          Service reply.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestServer

public TestServer()
           throws java.io.IOException
Instantiates a new test server.

Throws:
java.io.IOException - Signals that an I/O exception has occurred.
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
The main method.

Parameters:
args - the arguments
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

serviceAvailable

public void serviceAvailable(ServiceDescriptor descriptor)
Description copied from interface: ServiceDiscoveryListener
Service available.

Specified by:
serviceAvailable in interface ServiceDiscoveryListener
Parameters:
descriptor - the descriptor

serviceRemoved

public void serviceRemoved(ServiceDescriptor descriptor)
Description copied from interface: ServiceDiscoveryListener
Service removed.

Specified by:
serviceRemoved in interface ServiceDiscoveryListener
Parameters:
descriptor - the descriptor

serviceReply

public void serviceReply(ServiceDescription descriptor)
Service reply.

Parameters:
descriptor - the descriptor