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:
ISecuriyModeHolder,ConnectionSideRequestable,Closeable,CloseStateRequestable,GroupCloseable,IBackendClient<S>,IClient,AutoCloseable
- Bekannte direkte Unterklassen:
AbstractWebClient
public abstract class AbstractBackendClient<C extends AbstractBackendClient<C,S>,S>
extends AbstractClient<C>
implements IBackendClient<S>
- Version:
- 2022-03-18
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal Stringfinal Sprotected final AbstractSession<C, S> final 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
getDataFromCounterpart, getDataFromHere, getSecurityMode, getStoredCloseController, getUrlInstanceNameOfTargetApplication, hasRequestedConnection, hasUrlInstanceNameOfTargetApplication, isClosed, runHere, runOnCounterpart, runOnCounterpart, runOnCounterpartVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrol.closecontroller.CloseStateRequestable
isOpenVon Schnittstelle geerbte Methoden ch.nolix.coreapi.net.staterequest.ConnectionSideRequestable
isOnFrontendVon Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrol.closecontroller.GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosedVon Schnittstelle geerbte Methoden ch.nolix.systemapi.application.client.IClient
getUrlInstanceNameOfTargetApplication, hasRequestedConnection, hasUrlInstanceNameOfTargetApplicationVon Schnittstelle geerbte Methoden ch.nolix.coreapi.net.netattribute.ISecuriyModeHolder
getSecurityMode
-
Konstruktordetails
-
AbstractBackendClient
public AbstractBackendClient()
-
-
Methodendetails
-
getApplicationName
- Gibt zurück:
- the name of the parent
Applicationof the currentAbstractBackendClient.
-
getApplicationAsTarget
- Angegeben von:
getApplicationAsTargetin SchnittstelleIBackendClient<C extends AbstractBackendClient<C,S>> - Gibt zurück:
- the application of the current
IBackendClientas target.
-
getStoredApplicationService
- Angegeben von:
getStoredApplicationServicein SchnittstelleIBackendClient<C extends AbstractBackendClient<C,S>> - Gibt zurück:
- the application service of the parent application of the current
IBackendClient.
-
isOnBackend
public final boolean isOnBackend()- Angegeben von:
isOnBackendin SchnittstelleConnectionSideRequestable- Gibt zurück:
- true if the current
ConnectionSideRequestableis on the back-end, false otherwise.
-
noteClose
public final void noteClose()Lets the currentGroupCloseablenote a close.- Angegeben von:
noteClosein SchnittstelleGroupCloseable
-
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.
-