uk.ac.ncl.cs.instantsoap.servicedp
Interface SynchronousServiceDispatcher
- All Known Implementing Classes:
- SynchronousServiceDispatcherImpl
public interface SynchronousServiceDispatcher
Invoke a job specification synchronously.
The operations in this class will cause the calling thread to block until
they have completed. This should be used where latency is not an issue, or the job is known to be very short-running.
- Author:
- Matthew Pocock, Phil Lord
invoke
BlockedInvocationResponse invoke(JobSpecification jobSpec)
throws InvalidJobSpecificationException,
JobExecutionException,
UnknownApplicationException
- Invoke the invocation, blocking the calling thread.
- Parameters:
jobSpec
- a JobSpecification
value
- Returns:
- an
BlockedInvocationResponse
value
- Throws:
InvalidJobSpecificationException
- if the specification of the job contains errors
JobExecutionException
- if an error occurs while handling the job
UnknownApplicationException
Copyright © 2006-2008. All Rights Reserved.