Interface RequestSource

  • All Known Implementing Classes:
    SocketServerThread

    public interface RequestSource
    Obtains information necessary for request processing.
    • Method Detail

      • getSecurityMessageHeader

        String getSecurityMessageHeader()
      • getCurrentAdministrator

        User.Name getCurrentAdministrator()
      • isSecure

        boolean isSecure()
                  throws IOException
        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.