-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCongressService.java
More file actions
13 lines (12 loc) · 861 Bytes
/
CongressService.java
File metadata and controls
13 lines (12 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface CongressService extends Remote {
//Request to register a speaker in the specified day, session and slot number.
boolean registerSpeaker(String SpeakerName, int day, int sessionNumber, int participationSlot) throws RemoteException;
//Request to register a speaker in a specified day and session, without any slot number preference.
boolean registerSpeakerOnAnyParticipationSlot(String SpeakerName, int day, int sessionNumber) throws RemoteException;
//Request to register a speaker in a specified day, without any session (and slot) preference.
boolean registerSpeakerOnAnySession(String SpeakerName, int day) throws RemoteException;
//Get the entire congress schedule. The notation "SV" means "Empty slot".
String getSchedule() throws RemoteException;
}