uk.ac.lancs.relate.gateways.services.impl.presentation
Class PresentationServiceRequester
java.lang.Object
uk.ac.lancs.relate.gateways.services.architecture.ServiceRequester
uk.ac.lancs.relate.gateways.services.impl.presentation.PresentationServiceRequester
- All Implemented Interfaces:
- java.io.Serializable, ProvidersAndRequestersCommonInterface
- Direct Known Subclasses:
- PresentationShowServiceRequester
public class PresentationServiceRequester
- extends ServiceRequester
This class models a Presentation requester. It is basically a client
willing to open a slide show by connecting to a Presentation
service provider and sending it the presentation to open.
- Author:
- Dominique Guinard
Personal Homepage
- See Also:
- Serialized Form
|
Method Summary |
protected java.net.InetAddress |
getAddress()
|
protected int |
getPort()
|
protected java.net.Socket |
getSocket()
|
void |
request(java.lang.Object o)
Request for a presentation to be started on the
remote presentation show service. |
void |
shutdown()
Method used to stop a ServiceRequester or a ServiceProvider |
void |
startup()
Start the connection to the distant presentation show
service provider. |
| Methods inherited from class uk.ac.lancs.relate.gateways.services.architecture.ServiceRequester |
askForConfirmation, askToSelectFile, confirmShutdown, confirmStartup, displayErrorMessage, displayMessage, displayNonBlockingMessage, getService, isStarted, setService, setStarted |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conf
public Configuration conf
PresentationServiceRequester
public PresentationServiceRequester(Service service)
- Creates a new instance of
PresentationShowServiceRequester
startup
public void startup()
- Start the connection to the distant presentation show
service provider.
shutdown
public void shutdown()
- Description copied from interface:
ProvidersAndRequestersCommonInterface
- Method used to stop a ServiceRequester or a ServiceProvider
request
public void request(java.lang.Object o)
- Request for a presentation to be started on the
remote presentation show service.
- Specified by:
request in class ServiceRequester
- Parameters:
o - The gateway view (or any other subclass of JFrame) attached
to the calling controller.
getSocket
protected java.net.Socket getSocket()
getPort
protected int getPort()
getAddress
protected java.net.InetAddress getAddress()