Package org.opentcs.access
Schnittstelle KernelServicePortal
- Alle bekannten Implementierungsklassen:
RemoteKernelServicePortalProxy
public interface KernelServicePortal
Provides clients access to kernel services.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfetchEvents
(long timeout) Fetches events buffered for the client.Returns the service a client can use to access methods regarding the dispatcher.Returns the service a client can use to access methods regarding user notifications.Returns the service a client can use to access methods regarding the peripheral dispatcher.Returns the service a client can use to access methods regarding peripheral jobs.Returns the service a client can use to access methods regarding peripherals.Returns the service a client can use to access methods regarding the plant model.Returns the service a client can use to access methods for generic queries.Returns the service a client can use to access methods regarding the router.getState()
Returns the current state of the kernel.Returns the service a client can use to access methods regarding transport orders and order sequences.Returns the service a client can use to access methods regarding vehicles.void
Logs in with/establishes a connection to the remote kernel service portal.void
logout()
Logs out from/clears the connection to the remote kernel service portal.void
publishEvent
(Object event) Publishes an event.
-
Methodendetails
-
login
Logs in with/establishes a connection to the remote kernel service portal.- Parameter:
hostName
- The host on which the remote portal is running.port
- The port at which we can reach the remote RMI registry.- Löst aus:
KernelRuntimeException
- If there was a problem logging in with the remote portal.
-
logout
Logs out from/clears the connection to the remote kernel service portal.- Löst aus:
KernelRuntimeException
- If there was a problem logging out from the remote portal, i.e. it is no longer available.
-
getState
Returns the current state of the kernel.- Gibt zurück:
- The current state of the kernel.
- Löst aus:
KernelRuntimeException
- In case there is an exception executing this method.
-
fetchEvents
Fetches events buffered for the client.- Parameter:
timeout
- A timeout (in ms) for which to wait for events to arrive.- Gibt zurück:
- A list of events (in the order they arrived).
- Löst aus:
KernelRuntimeException
- In case there is an exception executing this method.
-
publishEvent
Publishes an event.- Parameter:
event
- The event to be published.- Löst aus:
KernelRuntimeException
- In case there is an exception executing this method.
-
getPlantModelService
Returns the service a client can use to access methods regarding the plant model.- Gibt zurück:
- The service a client can use to access methods regarding the plant model.
-
getTransportOrderService
Returns the service a client can use to access methods regarding transport orders and order sequences.- Gibt zurück:
- The service a client can use to access methods regarding transport orders and order sequences.
-
getVehicleService
Returns the service a client can use to access methods regarding vehicles.- Gibt zurück:
- The service a client can use to access methods regarding vehicles.
-
getNotificationService
Returns the service a client can use to access methods regarding user notifications.- Gibt zurück:
- The service a client can use to access methods regarding user notifications.
-
getDispatcherService
Returns the service a client can use to access methods regarding the dispatcher.- Gibt zurück:
- The service a client can use to access methods regarding the dispatcher.
-
getRouterService
Returns the service a client can use to access methods regarding the router.- Gibt zurück:
- The service a client can use to access methods regarding the router.
-
getQueryService
Returns the service a client can use to access methods for generic queries.- Gibt zurück:
- The service a client can use to access methods for generic queries.
-
getPeripheralService
Returns the service a client can use to access methods regarding peripherals.- Gibt zurück:
- The service a client can use to access methods regarding peripherals.
-
getPeripheralJobService
Returns the service a client can use to access methods regarding peripheral jobs.- Gibt zurück:
- The service a client can use to access methods regarding peripheral jobs.
-
getPeripheralDispatcherService
Returns the service a client can use to access methods regarding the peripheral dispatcher.- Gibt zurück:
- The service a client can use to access methods regarding the peripheral dispatcher.
-