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 parentApplicationof aBackendClient.
- Alle implementierten Schnittstellen:
Closeable,CloseStateRequestable,GroupCloseable,AutoCloseable
- Bekannte direkte Unterklassen:
BaseWebClient
- Version:
- 2022-03-18
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal Stringfinal ACfinal Application<BC, AC> final booleanfinal booleanfinal voidLets the currentGroupCloseablenote a close.protected final voidsetEndPoint(EndPoint endPoint) Sets theEndPointof the currentBackendClient.Von Klasse geerbte Methoden ch.nolix.system.application.main.Client
asConcrete, containsSessionVariableWithKey, getDataFromCounterpart, getDataFromHere, getSecurityMode, getSessionVariableValueByKey, getStoredCloseController, getTarget, hasRequestedConnection, hasTarget, isClosed, isConnected, isLocalClient, isNetClient, isWebClient, runHere, runOnCounterpart, runOnCounterpart, runOnCounterpart, setSessionVariableWithKeyAndValueVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.CloseStateRequestable
isOpenVon 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
Applicationof the currentBackendClient.
-
getStoredApplicationContext
- Gibt zurück:
- the context of the parent
Applicationof the currentBackendClient.
-
getStoredParentApplication
- Gibt zurück:
- the parent
Applicationof the currentBackendClient. - Löst aus:
InvalidArgumentException- if the currentBackendClientdoes not reference its parentApplication.
-
isBackendClient
public final boolean isBackendClient()- Angegeben von:
isBackendClientin KlasseClient<BC extends BackendClient<BC,AC>> - Gibt zurück:
- true if the current
Clientis a backendClient.
-
isFrontendClient
public final boolean isFrontendClient()- Angegeben von:
isFrontendClientin KlasseClient<BC extends BackendClient<BC,AC>> - Gibt zurück:
- true if the current
Clientis a frontendClient.
-
noteClose
public final void noteClose()Lets the currentGroupCloseablenote a close. -
getStoredCurrentSession
- Gibt zurück:
- the current
Sessionof the currentBackendClient. - Löst aus:
ArgumentDoesNotHaveAttributeException- if the currentBackendClientdoes not have a currentSession.
-
setEndPoint
Sets theEndPointof the currentBackendClient.- Parameter:
endPoint-- Löst aus:
ArgumentIsNullException- if the given endPoint is null.InvalidArgumentException- if the currentBackendClientis already connected.
-