Package com.aoindustries.aoserv.master
Interface RequestSource
- All Known Implementing Classes:
SocketServerThread
public interface RequestSource
Obtains information necessary for request processing.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcachesInvalidated(IntList tableList) intGets the id of the server that this connection is created from.Gets the protocol version number supported by the client.booleanisClosed()booleanisSecure()Determines if the communication with the client is currently secure.
-
Method Details
-
cachesInvalidated
- Throws:
IOException
-
getConnectorId
Identifier getConnectorId() -
getNextInvalidatedTables
InvalidateCacheEntry getNextInvalidatedTables() -
getSecurityMessageHeader
String getSecurityMessageHeader() -
getCurrentAdministrator
User.Name getCurrentAdministrator() -
isSecure
Determines if the communication with the client is currently secure.- Throws:
IOException
-
isClosed
boolean isClosed() -
getDaemonServer
int getDaemonServer()Gets the id of the server that this connection is created from. This is only used by connections initiated by daemons.- Returns:
- the id of the server or
-1for none
-
getProtocolVersion
AoservProtocol.Version getProtocolVersion()Gets the protocol version number supported by the client.
-
