Class AbstractClient
java.lang.Object
ch.nolix.base.net.clientserver.AbstractClient
- All Implemented Interfaces:
Client, SecurityModeHolder, Closeable, GroupCloseable, OpennessRequestable, 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 Client
isBackendClient, isFrontendClientMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, noteCloseMethods inherited from interface OpennessRequestable
isOpen
-
Constructor Details
-
AbstractClient
public AbstractClient()
-
-
Method Details
-
getSecurityMode
- Specified by:
getSecurityModein interfaceSecurityModeHolder- Returns:
- the
SecurityModeof the currentSecurityModeHolder
-
getStoredCloseController
- Specified by:
getStoredCloseControllerin interfaceGroupCloseable- Returns:
- the
ICloseControllerof the currentGroupCloseable.
-
getUrlInstanceNameOfTargetApplication
- Specified by:
getUrlInstanceNameOfTargetApplicationin interfaceClient- Returns:
- the URL instance name of the target application of the current
Client
-
hasRequestedConnection
public final boolean hasRequestedConnection()- Specified by:
hasRequestedConnectionin interfaceClient- Returns:
- true if the current
Clienthas requested the connection, false otherwise
-
hasUrlInstanceNameOfTargetApplication
public final boolean hasUrlInstanceNameOfTargetApplication()- Specified by:
hasUrlInstanceNameOfTargetApplicationin interfaceClient- Returns:
- true if the current
Clienthas the URL instance name of its target application, false otherwise
-
isClosed
public final boolean isClosed()- Specified by:
isClosedin interfaceGroupCloseable- Specified by:
isClosedin interfaceOpennessRequestable- Returns:
- true if the current
OpennessRequestableis closed, false otherwise
-