uk.ac.lancs.relate.gateways.services.impl.presentation
Class PresentationShowServiceProvider

java.lang.Object
  extended by uk.ac.lancs.relate.gateways.services.architecture.ServiceProvider
      extended by uk.ac.lancs.relate.gateways.services.impl.presentation.PresentationServiceProvider
          extended by uk.ac.lancs.relate.gateways.services.impl.presentation.PresentationShowServiceProvider
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable, ProvidersAndRequestersCommonInterface

public class PresentationShowServiceProvider
extends PresentationServiceProvider

This class models a provider for presentations. It offers a requester to start a presentation using Openoffice/Staroffice Impress. To achieve this goal it listens on a socket onto which requesters send their presentations.

Author:
Dominique Guinard
Personal Homepage
See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.ac.lancs.relate.gateways.services.impl.presentation.PresentationServiceProvider
conf
 
Constructor Summary
PresentationShowServiceProvider(Service service)
          Creates a new instance of PresentationShowServiceProvider
 
Method Summary
 ServiceResponse provide(ServiceRequest serviceRequest)
          Provides the presentation show service to requesters willing to use it.
 
Methods inherited from class uk.ac.lancs.relate.gateways.services.impl.presentation.PresentationServiceProvider
getPort, getPresentation, getServSocket, run, shutdown, startup
 
Methods inherited from class uk.ac.lancs.relate.gateways.services.architecture.ServiceProvider
confirmShutdown, confirmStartup, getService, isRunning, setService, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PresentationShowServiceProvider

public PresentationShowServiceProvider(Service service)
Creates a new instance of PresentationShowServiceProvider

Method Detail

provide

public ServiceResponse provide(ServiceRequest serviceRequest)
Provides the presentation show service to requesters willing to use it. NOTE: The presentation to show will be sent on the socket, not through this method.

Overrides:
provide in class PresentationServiceProvider