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 TypeMethodDescriptionvoid
cachesInvalidated
(IntList tableList) int
Gets the id of the server that this connection is created from.Gets the protocol version number supported by the client.boolean
isClosed()
boolean
isSecure()
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
-1
for none
-
getProtocolVersion
AoservProtocol.Version getProtocolVersion()Gets the protocol version number supported by the client.
-