Package org.opentcs.access.rmi.services
Schnittstelle RemoteKernelServicePortal
- Alle Superschnittstellen:
Remote
Declares the methods provided by the
KernelServicePortal
via RMI.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfetchEvents
(ClientID clientId, long timeout) Introduce the calling client to the server and authenticate for operations.void
void
publishEvent
(ClientID clientId, Object event)
-
Methodendetails
-
login
ClientID login(String userName, String password, Predicate<Object> eventFilter) throws CredentialsException, RemoteException Introduce the calling client to the server and authenticate for operations.- Parameter:
userName
- The user's name.password
- The user's password.eventFilter
- The event filter to be applied to events on the server side.- Gibt zurück:
- An identification object that is required for subsequent method calls.
- Löst aus:
CredentialsException
- If authentication with the given username and password failed.RemoteException
- If there was an RMI-related problem.
-
logout
- Löst aus:
RemoteException
-
getState
- Löst aus:
RemoteException
-
fetchEvents
- Löst aus:
RemoteException
-
publishEvent
- Löst aus:
RemoteException
-