Class AbstractClient<C extends AbstractClient<C>>
java.lang.Object
ch.nolix.system.application.main.AbstractClient<C>
- Type Parameters:
C- is the type of aAbstractClient.
- All Implemented Interfaces:
ISecuriyModeHolder, ConnectionSideRequestable, Closeable, CloseStateRequestable, GroupCloseable, IClient, AutoCloseable
- Direct Known Subclasses:
AbstractBackendClient, AbstractFrontendClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SecurityModefinal ICloseControllerfinal Stringfinal booleanfinal booleanfinal booleanisClosed()Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpenMethods inherited from interface ConnectionSideRequestable
isOnBackend, isOnFrontendMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, noteClose
-
Constructor Details
-
AbstractClient
public AbstractClient()
-
-
Method Details
-
getSecurityMode
- Specified by:
getSecurityModein interfaceISecuriyModeHolder- Returns:
- the
SecurityModeof the currentISecuriyModeHolder.
-
getStoredCloseController
- Specified by:
getStoredCloseControllerin interfaceGroupCloseable- Returns:
- the
ICloseControllerof the currentGroupCloseable.
-
getUrlInstanceNameOfTargetApplication
- Specified by:
getUrlInstanceNameOfTargetApplicationin interfaceIClient- Returns:
- the URL instance name of the target application of the current
IClient.
-
hasRequestedConnection
public final boolean hasRequestedConnection()- Specified by:
hasRequestedConnectionin interfaceIClient- Returns:
- true if the current
IClienthas requested the connection, false otherwise.
-
hasUrlInstanceNameOfTargetApplication
public final boolean hasUrlInstanceNameOfTargetApplication()- Specified by:
hasUrlInstanceNameOfTargetApplicationin interfaceIClient- Returns:
- true if the current
IClienthas the URL instance name of its target application, false otherwise.
-
isClosed
public final boolean isClosed()- Specified by:
isClosedin interfaceCloseStateRequestable- Specified by:
isClosedin interfaceGroupCloseable- Returns:
- true if the current
CloseStateRequestableis closed, false otherwise.
-