Package ch.nolix.system.application.main
Klasse BackendClient<BC extends BackendClient<BC,AC>,AC>
java.lang.Object
ch.nolix.system.application.main.Client<BC>
ch.nolix.system.application.main.BackendClient<BC,AC>
- Typparameter:
BC
- is the type of aBackendClient
.AC
- is the type of the context of the parentApplication
of aBackendClient
.
- Alle implementierten Schnittstellen:
Closeable
,CloseStateRequestable
,GroupCloseable
,AutoCloseable
- Bekannte direkte Unterklassen:
BaseWebClient
- Version:
- 2022-03-18
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal String
final AC
final Application
<BC, AC> final boolean
final boolean
final void
Lets the currentGroupCloseable
note a close.protected final void
setEndPoint
(EndPoint endPoint) Sets theEndPoint
of the currentBackendClient
.Von Klasse geerbte Methoden ch.nolix.system.application.main.Client
asConcrete, containsSessionVariableWithKey, getConnectionSecurityLevel, getDataFromCounterpart, getDataFromHere, getSessionVariableValueByKey, getStoredCloseController, getTarget, hasRequestedConnection, hasTarget, isClosed, isConnected, isLocalClient, isNetClient, isWebClient, runHere, runOnCounterpart, runOnCounterpart, runOnCounterpart, setSessionVariableWithKeyAndValue
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.CloseStateRequestable
isOpen
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.GroupCloseable
close, createCloseDependencyTo
-
Konstruktordetails
-
BackendClient
public BackendClient()
-
-
Methodendetails
-
getApplicationName
- Gibt zurück:
- the name of the parent
Application
of the currentBackendClient
.
-
getStoredApplicationContext
- Gibt zurück:
- the context of the parent
Application
of the currentBackendClient
.
-
getStoredParentApplication
- Gibt zurück:
- the parent
Application
of the currentBackendClient
. - Löst aus:
InvalidArgumentException
- if the currentBackendClient
does not reference its parentApplication
.
-
isBackendClient
public final boolean isBackendClient()- Angegeben von:
isBackendClient
in KlasseClient<BC extends BackendClient<BC,
AC>> - Gibt zurück:
- true if the current
Client
is a backendClient
.
-
isFrontendClient
public final boolean isFrontendClient()- Angegeben von:
isFrontendClient
in KlasseClient<BC extends BackendClient<BC,
AC>> - Gibt zurück:
- true if the current
Client
is a frontendClient
.
-
noteClose
public final void noteClose()Lets the currentGroupCloseable
note a close. -
getStoredCurrentSession
- Gibt zurück:
- the current
Session
of the currentBackendClient
. - Löst aus:
ArgumentDoesNotHaveAttributeException
- if the currentBackendClient
does not have a currentSession
.
-
setEndPoint
Sets theEndPoint
of the currentBackendClient
.- Parameter:
endPoint
-- Löst aus:
ArgumentIsNullException
- if the given endPoint is null.InvalidArgumentException
- if the currentBackendClient
is already connected.
-