uk.ac.lancs.relate.gateways.services.architecture.communication.multicast
Class MulticastService

java.lang.Object
  extended by uk.ac.lancs.relate.gateways.services.architecture.Service
      extended by uk.ac.lancs.relate.gateways.services.architecture.communication.multicast.MulticastService
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OOWriterTypingService, TypingService

public abstract class MulticastService
extends Service

This class models a Service using multicast connectivity for both its ServiceProvider and ServiceRequester. It groups the common properties of Services using multicast communication. Note: a Service is not required to use any particular communication API, this class is models one type of communication but it is the programmer's responsibility to pick up the right communication model for his service. As long as the concrete service extends or instantiate the Service class the RelateGateways system and UI will handle and export it correctly.

Author:
Dominique Guinard
Personal Homepage
See Also:
Serialized Form

Constructor Summary
MulticastService(java.lang.String name, java.lang.String description, TrackableDevice device, java.lang.String multicastHost, int multicastPort)
          Creates a new instance of MulticastService
 
Method Summary
 
Methods inherited from class uk.ac.lancs.relate.gateways.services.architecture.Service
getDescription, getDevice, getName, getProvider, getRequester, getServiceHost, getServicePort, setDescription, setName, setProvider, setRequester, setServiceHost, setServicePort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastService

public MulticastService(java.lang.String name,
                        java.lang.String description,
                        TrackableDevice device,
                        java.lang.String multicastHost,
                        int multicastPort)
Creates a new instance of MulticastService