java.lang.Object
com.aoindustries.aoserv.daemon.client.AoservDaemonProtocol

public final class AoservDaemonProtocol extends Object
Codes used in communication between the AoservDaemonClient and the AoservMaster.
Author:
AO Industries, Inc.
  • Field Details

    • COMPARE_LINUX_ACCOUNT_PASSWORD

      public static final int COMPARE_LINUX_ACCOUNT_PASSWORD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • DUMP_MYSQL_DATABASE

      public static final int DUMP_MYSQL_DATABASE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • DUMP_POSTGRES_DATABASE

      public static final int DUMP_POSTGRES_DATABASE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • FAILOVER_FILE_REPLICATION

      public static final int FAILOVER_FILE_REPLICATION
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_AUTORESPONDER_CONTENT

      public static final int GET_AUTORESPONDER_CONTENT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_CRON_TABLE

      public static final int GET_CRON_TABLE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • UNUSED_GET_DAEMON_PROFILE

      public static final int UNUSED_GET_DAEMON_PROFILE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_DISK_DEVICE_TOTAL_SIZE

      public static final int GET_DISK_DEVICE_TOTAL_SIZE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_DISK_DEVICE_USED_SIZE

      public static final int GET_DISK_DEVICE_USED_SIZE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_ENCRYPTED_LINUX_ACCOUNT_PASSWORD

      public static final int GET_ENCRYPTED_LINUX_ACCOUNT_PASSWORD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_ENCRYPTED_MYSQL_USER_PASSWORD

      public static final int GET_ENCRYPTED_MYSQL_USER_PASSWORD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_EMAIL_LIST_FILE

      public static final int GET_EMAIL_LIST_FILE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_IMAP_FOLDER_SIZES

      public static final int GET_IMAP_FOLDER_SIZES
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_INBOX_ATTRIBUTES

      public static final int GET_INBOX_ATTRIBUTES
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_MRTG_FILE

      public static final int GET_MRTG_FILE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_POSTGRES_PASSWORD

      public static final int GET_POSTGRES_PASSWORD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GRANT_DAEMON_ACCESS

      public static final int GRANT_DAEMON_ACCESS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • IS_PROCMAIL_MANUAL

      public static final int IS_PROCMAIL_MANUAL
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • QUIT

      public static final int QUIT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • REMOVE_EMAIL_LIST

      public static final int REMOVE_EMAIL_LIST
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • RESTART_APACHE

      public static final int RESTART_APACHE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • RESTART_CRON

      public static final int RESTART_CRON
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • RESTART_MYSQL

      public static final int RESTART_MYSQL
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • RESTART_POSTGRES

      public static final int RESTART_POSTGRES
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • RESTART_XFS

      public static final int RESTART_XFS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • RESTART_XVFB

      public static final int RESTART_XVFB
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • SET_AUTORESPONDER_CONTENT

      public static final int SET_AUTORESPONDER_CONTENT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • SET_CRON_TABLE

      public static final int SET_CRON_TABLE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • SET_ENCRYPTED_LINUX_ACCOUNT_PASSWORD

      public static final int SET_ENCRYPTED_LINUX_ACCOUNT_PASSWORD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • SET_EMAIL_LIST_FILE

      public static final int SET_EMAIL_LIST_FILE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • UNUSED_SET_IMAP_FOLDER_SUBSCRIBED

      public static final int UNUSED_SET_IMAP_FOLDER_SUBSCRIBED
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • SET_LINUX_SERVER_ACCOUNT_PASSWORD

      public static final int SET_LINUX_SERVER_ACCOUNT_PASSWORD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • SET_MYSQL_USER_PASSWORD

      public static final int SET_MYSQL_USER_PASSWORD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • SET_POSTGRES_USER_PASSWORD

      public static final int SET_POSTGRES_USER_PASSWORD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • START_APACHE

      public static final int START_APACHE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • START_CRON

      public static final int START_CRON
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • START_DISTRO

      public static final int START_DISTRO
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • START_JVM

      public static final int START_JVM
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • START_MYSQL

      public static final int START_MYSQL
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • START_POSTGRESQL

      public static final int START_POSTGRESQL
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • START_XFS

      public static final int START_XFS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • START_XVFB

      public static final int START_XVFB
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • STOP_APACHE

      public static final int STOP_APACHE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • STOP_CRON

      public static final int STOP_CRON
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • STOP_JVM

      public static final int STOP_JVM
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • STOP_MYSQL

      public static final int STOP_MYSQL
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • STOP_POSTGRESQL

      public static final int STOP_POSTGRESQL
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • STOP_XFS

      public static final int STOP_XFS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • STOP_XVFB

      public static final int STOP_XVFB
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • TAR_HOME_DIRECTORY

      public static final int TAR_HOME_DIRECTORY
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • UNTAR_HOME_DIRECTORY

      public static final int UNTAR_HOME_DIRECTORY
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • OLD_WAIT_FOR_REBUILD

      public static final int OLD_WAIT_FOR_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_AWSTATS_FILE

      public static final int GET_AWSTATS_FILE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_MYSQL_SLAVE_STATUS

      public static final int GET_MYSQL_SLAVE_STATUS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_MYSQL_MASTER_STATUS

      public static final int GET_MYSQL_MASTER_STATUS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_NET_DEVICE_BONDING_REPORT

      public static final int GET_NET_DEVICE_BONDING_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_3WARE_RAID_REPORT

      public static final int GET_3WARE_RAID_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_MD_STAT_REPORT

      public static final int GET_MD_STAT_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_DRBD_REPORT

      public static final int GET_DRBD_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_HDD_TEMP_REPORT

      public static final int GET_HDD_TEMP_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_FILESYSTEMS_CSV_REPORT

      public static final int GET_FILESYSTEMS_CSV_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_AO_SERVER_LOADAVG_REPORT

      public static final int GET_AO_SERVER_LOADAVG_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_AO_SERVER_MEMINFO_REPORT

      public static final int GET_AO_SERVER_MEMINFO_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_NET_DEVICE_STATISTICS_REPORT

      public static final int GET_NET_DEVICE_STATISTICS_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_AO_SERVER_SYSTEM_TIME_MILLIS

      public static final int GET_AO_SERVER_SYSTEM_TIME_MILLIS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_LVM_REPORT

      public static final int GET_LVM_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_HDD_MODEL_REPORT

      public static final int GET_HDD_MODEL_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • VNC_CONSOLE

      public static final int VNC_CONSOLE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_MYSQL_TABLE_STATUS

      public static final int GET_MYSQL_TABLE_STATUS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • CHECK_MYSQL_TABLES

      public static final int CHECK_MYSQL_TABLES
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • CHECK_PORT

      public static final int CHECK_PORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • CHECK_SMTP_BLACKLIST

      public static final int CHECK_SMTP_BLACKLIST
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_UPS_STATUS

      public static final int GET_UPS_STATUS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • CREATE_VIRTUAL_SERVER

      public static final int CREATE_VIRTUAL_SERVER
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • REBOOT_VIRTUAL_SERVER

      public static final int REBOOT_VIRTUAL_SERVER
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • SHUTDOWN_VIRTUAL_SERVER

      public static final int SHUTDOWN_VIRTUAL_SERVER
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • DESTROY_VIRTUAL_SERVER

      public static final int DESTROY_VIRTUAL_SERVER
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • PAUSE_VIRTUAL_SERVER

      public static final int PAUSE_VIRTUAL_SERVER
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • UNPAUSE_VIRTUAL_SERVER

      public static final int UNPAUSE_VIRTUAL_SERVER
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_VIRTUAL_SERVER_STATUS

      public static final int GET_VIRTUAL_SERVER_STATUS
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_MD_MISMATCH_REPORT

      public static final int GET_MD_MISMATCH_REPORT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • VERIFY_VIRTUAL_DISK

      public static final int VERIFY_VIRTUAL_DISK
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • UPDATE_VIRTUAL_DISK_LAST_UPDATED

      public static final int UPDATE_VIRTUAL_DISK_LAST_UPDATED
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_FAILOVER_FILE_REPLICATION_ACTIVITY

      public static final int GET_FAILOVER_FILE_REPLICATION_ACTIVITY
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • WAIT_FOR_HTTPD_SITE_REBUILD

      public static final int WAIT_FOR_HTTPD_SITE_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • WAIT_FOR_LINUX_ACCOUNT_REBUILD

      public static final int WAIT_FOR_LINUX_ACCOUNT_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • WAIT_FOR_MYSQL_DATABASE_REBUILD

      public static final int WAIT_FOR_MYSQL_DATABASE_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • WAIT_FOR_MYSQL_DB_USER_REBUILD

      public static final int WAIT_FOR_MYSQL_DB_USER_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • WAIT_FOR_MYSQL_SERVER_REBUILD

      public static final int WAIT_FOR_MYSQL_SERVER_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • WAIT_FOR_MYSQL_USER_REBUILD

      public static final int WAIT_FOR_MYSQL_USER_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • WAIT_FOR_POSTGRES_DATABASE_REBUILD

      public static final int WAIT_FOR_POSTGRES_DATABASE_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • WAIT_FOR_POSTGRES_SERVER_REBUILD

      public static final int WAIT_FOR_POSTGRES_SERVER_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • WAIT_FOR_POSTGRES_USER_REBUILD

      public static final int WAIT_FOR_POSTGRES_USER_REBUILD
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • CHECK_SSL_CERTIFICATE

      public static final int CHECK_SSL_CERTIFICATE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • GET_HTTPD_SERVER_CONCURRENCY

      public static final int GET_HTTPD_SERVER_CONCURRENCY
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • DONE

      public static final int DONE
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • NEXT

      public static final int NEXT
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • NEXT_CHUNK

      public static final int NEXT_CHUNK
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • IO_EXCEPTION

      public static final int IO_EXCEPTION
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • SQL_EXCEPTION

      public static final int SQL_EXCEPTION
      The protocol codes used between the AOServ Master and the AOServ Daemons.
      See Also:
    • OLD_HTTPD_SITES_TABLE_ID

      public static final int OLD_HTTPD_SITES_TABLE_ID
      Table IDs used for backwards compatibility with clients that still require OLD_WAIT_FOR_REBUILD. These may be removed once there are no daemons or clients supporting AoservDaemonProtocol.Version.VERSION_1_77 or older.
      See Also:
    • OLD_LINUX_ACCOUNTS_TABLE_ID

      public static final int OLD_LINUX_ACCOUNTS_TABLE_ID
      Table IDs used for backwards compatibility with clients that still require OLD_WAIT_FOR_REBUILD. These may be removed once there are no daemons or clients supporting AoservDaemonProtocol.Version.VERSION_1_77 or older.
      See Also:
    • OLD_MYSQL_DATABASES_TABLE_ID

      public static final int OLD_MYSQL_DATABASES_TABLE_ID
      Table IDs used for backwards compatibility with clients that still require OLD_WAIT_FOR_REBUILD. These may be removed once there are no daemons or clients supporting AoservDaemonProtocol.Version.VERSION_1_77 or older.
      See Also:
    • OLD_MYSQL_DB_USERS_TABLE_ID

      public static final int OLD_MYSQL_DB_USERS_TABLE_ID
      Table IDs used for backwards compatibility with clients that still require OLD_WAIT_FOR_REBUILD. These may be removed once there are no daemons or clients supporting AoservDaemonProtocol.Version.VERSION_1_77 or older.
      See Also:
    • OLD_MYSQL_USERS_TABLE_ID

      public static final int OLD_MYSQL_USERS_TABLE_ID
      Table IDs used for backwards compatibility with clients that still require OLD_WAIT_FOR_REBUILD. These may be removed once there are no daemons or clients supporting AoservDaemonProtocol.Version.VERSION_1_77 or older.
      See Also:
    • OLD_POSTGRES_DATABASES_TABLE_ID

      public static final int OLD_POSTGRES_DATABASES_TABLE_ID
      Table IDs used for backwards compatibility with clients that still require OLD_WAIT_FOR_REBUILD. These may be removed once there are no daemons or clients supporting AoservDaemonProtocol.Version.VERSION_1_77 or older.
      See Also:
    • OLD_POSTGRES_SERVERS_TABLE_ID

      public static final int OLD_POSTGRES_SERVERS_TABLE_ID
      Table IDs used for backwards compatibility with clients that still require OLD_WAIT_FOR_REBUILD. These may be removed once there are no daemons or clients supporting AoservDaemonProtocol.Version.VERSION_1_77 or older.
      See Also:
    • OLD_POSTGRES_USERS_TABLE_ID

      public static final int OLD_POSTGRES_USERS_TABLE_ID
      Table IDs used for backwards compatibility with clients that still require OLD_WAIT_FOR_REBUILD. These may be removed once there are no daemons or clients supporting AoservDaemonProtocol.Version.VERSION_1_77 or older.
      See Also:
    • FAILOVER_FILE_REPLICATION_NO_CHANGE

      public static final int FAILOVER_FILE_REPLICATION_NO_CHANGE
      See Also:
    • FAILOVER_FILE_REPLICATION_MODIFIED

      public static final int FAILOVER_FILE_REPLICATION_MODIFIED
      See Also:
    • FAILOVER_FILE_REPLICATION_MODIFIED_REQUEST_DATA

      public static final int FAILOVER_FILE_REPLICATION_MODIFIED_REQUEST_DATA
      See Also:
    • FAILOVER_FILE_REPLICATION_MODIFIED_REQUEST_DATA_CHUNKED

      public static final int FAILOVER_FILE_REPLICATION_MODIFIED_REQUEST_DATA_CHUNKED
      See Also:
    • FAILOVER_FILE_REPLICATION_CHUNK_SIZE_BITS

      public static final int FAILOVER_FILE_REPLICATION_CHUNK_SIZE_BITS
      The number of bytes per block when using chunked transfers.
      See Also:
    • FAILOVER_FILE_REPLICATION_CHUNK_SIZE

      public static final int FAILOVER_FILE_REPLICATION_CHUNK_SIZE
      See Also:
    • FAILOVER_FILE_REPLICATION_GZIP_BUFFER_SIZE

      public static final int FAILOVER_FILE_REPLICATION_GZIP_BUFFER_SIZE
      The GZIP buffer size for compressed transfers. See https://stackoverflow.com/a/55151757.
      See Also: