Package ch.nolix.system.application.main
Klasse AbstractBackendClient<C extends AbstractBackendClient<C,S>,S>
java.lang.Object
ch.nolix.system.application.main.AbstractClient<C>
ch.nolix.system.application.main.AbstractBackendClient<C,S>
- Typparameter:
C- is the type of aAbstractBackendClient.S- is the type of the context of the parentApplicationof aAbstractBackendClient.
- Alle implementierten Schnittstellen:
Closeable,CloseStateRequestable,GroupCloseable,AutoCloseable
- Bekannte direkte Unterklassen:
AbstractWebClient
public abstract class AbstractBackendClient<C extends AbstractBackendClient<C,S>,S>
extends AbstractClient<C>
- Version:
- 2022-03-18
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal Stringfinal Sprotected final AbstractSession<C, S> final Application<C, S> final booleanfinal booleanfinal voidLets the currentGroupCloseablenote a close.protected final voidsetEndPoint(AbstractEndPoint abstractEndPoint) Sets theAbstractEndPointof the currentAbstractBackendClient.Von Klasse geerbte Methoden ch.nolix.system.application.main.AbstractClient
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
-
AbstractBackendClient
public AbstractBackendClient()
-
-
Methodendetails
-
getApplicationName
- Gibt zurück:
- the name of the parent
Applicationof the currentAbstractBackendClient.
-
getStoredApplicationService
- Gibt zurück:
- the context of the parent
Applicationof the currentAbstractBackendClient.
-
getStoredParentApplication
- Gibt zurück:
- the parent
Applicationof the currentAbstractBackendClient. - Löst aus:
InvalidArgumentException- if the currentAbstractBackendClientdoes not reference its parentApplication.
-
isBackendClient
public final boolean isBackendClient()- Angegeben von:
isBackendClientin KlasseAbstractClient<C extends AbstractBackendClient<C,S>> - Gibt zurück:
- true if the current
AbstractClientis a backendAbstractClient.
-
isFrontendClient
public final boolean isFrontendClient()- Angegeben von:
isFrontendClientin KlasseAbstractClient<C extends AbstractBackendClient<C,S>> - Gibt zurück:
- true if the current
AbstractClientis a frontendAbstractClient.
-
noteClose
public final void noteClose()Lets the currentGroupCloseablenote a close. -
getStoredCurrentSession
- Gibt zurück:
- the current
AbstractSessionof the currentAbstractBackendClient. - Löst aus:
ArgumentDoesNotHaveAttributeException- if the currentAbstractBackendClientdoes not have a currentAbstractSession.
-
setEndPoint
Sets theAbstractEndPointof the currentAbstractBackendClient.- Parameter:
abstractEndPoint-- Löst aus:
ArgumentIsNullException- if the given endPoint is null.InvalidArgumentException- if the currentAbstractBackendClientis already connected.
-