Package org.opentcs.access
Schnittstelle SharedKernelServicePortalProvider
public interface SharedKernelServicePortalProvider
Pools access to a
KernelServicePortal
instance for multiple clients.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns a description for the portal currently being shared.boolean
Checks whether a kernel reference is currently being shared.register()
Creates and registers a new client with this access pool.
-
Methodendetails
-
register
Creates and registers a new client with this access pool. This is a convenience method that supports try-with-ressources and does not require a preexisting client.- Gibt zurück:
- The
SharedKernelServicePortal
. - Löst aus:
ServiceUnavailableException
- in case of connection falure with the portal.
-
getPortalDescription
String getPortalDescription()Returns a description for the portal currently being shared.- Gibt zurück:
- A description for the portal currently being shared, or the empty string, if none is currently being shared.
-