Interface TicketScheduler
- All Superinterfaces:
Remote
- All Known Implementing Classes:
TicketSchedulerServer
Define the rmi interface for the TicketSchedulerServer.
- Since:
- 1.1
- Author:
- Laurent Jourdren
-
Method Summary
-
Method Details
-
getTickets
Update a ticket by the TicketScheduler and get all the valid tickets.- Parameters:
ticket- the ticket to update- Returns:
- a set with all the valid tickets
- Throws:
RemoteException- if an error occurs with the server
-
endWork
Inform the scheduler that the ticket job has been finished.- Parameters:
ticket- the ticket that the job has been finished- Throws:
RemoteException- if an error occurs with the server
-