Class AbstractBackendClient<C extends AbstractBackendClient<C,S>, S>
java.lang.Object
ch.nolix.base.net.clientserver.AbstractClient
ch.nolix.base.net.clientserver.AbstractBackendClient<C,S>
- Type Parameters:
C- the type of aAbstractBackendClient.S- the type of the application service of theApplicationof aAbstractBackendClient.
- All Implemented Interfaces:
BackendClient<S>, Client, SecurityModeHolder, Closeable, GroupCloseable, OpennessRequestable, AutoCloseable
- Direct Known Subclasses:
AbstractWebClient
public abstract class AbstractBackendClient<C extends AbstractBackendClient<C,S>, S>
extends AbstractClient
implements BackendClient<S>
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringfinal Sfinal booleanfinal booleanfinal voidLets the currentGroupCloseablenote a close.Methods inherited from class AbstractClient
getSecurityMode, getStoredCloseController, getUrlInstanceNameOfTargetApplication, hasRequestedConnection, hasUrlInstanceNameOfTargetApplication, isClosedMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Client
getUrlInstanceNameOfTargetApplication, hasRequestedConnection, hasUrlInstanceNameOfTargetApplicationMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosedMethods inherited from interface OpennessRequestable
isOpenMethods inherited from interface SecurityModeHolder
getSecurityMode
-
Constructor Details
-
AbstractBackendClient
public AbstractBackendClient()
-
-
Method Details
-
getApplicationName
- Returns:
- the name of the parent
AbstractApplicationof the currentAbstractBackendClient.
-
getApplicationAsTarget
- Specified by:
getApplicationAsTargetin interfaceBackendClient<C extends AbstractBackendClient<C,S>> - Returns:
- the application of the current
BackendClientas target.
-
getStoredApplicationService
- Specified by:
getStoredApplicationServicein interfaceBackendClient<C extends AbstractBackendClient<C,S>> - Returns:
- the application service of the parent application of the current
BackendClient.
-
isBackendClient
public final boolean isBackendClient()- Specified by:
isBackendClientin interfaceClient- Returns:
- true if the current
Clientis a back-end client, false otherwise
-
isFrontendClient
public final boolean isFrontendClient()- Specified by:
isFrontendClientin interfaceClient- Returns:
- true if the current
Clientis a front-end client, false otherwise
-
noteClose
public final void noteClose()Lets the currentGroupCloseablenote a close.- Specified by:
noteClosein interfaceGroupCloseable
-