Class AoservProtocol
java.lang.Object
com.aoindustries.aoserv.client.AoservObject<String,AoservProtocol>
com.aoindustries.aoserv.client.GlobalObject<String,AoservProtocol>
com.aoindustries.aoserv.client.GlobalObjectStringKey<AoservProtocol>
com.aoindustries.aoserv.client.schema.AoservProtocol
- All Implemented Interfaces:
Streamable
,StreamReadable
,StreamWritable
,Row
,AoservReadable
,AoservStreamable
,AoservWritable
Constants used in communication between the client and server.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Since the ordinals are used in the protocol (for compatibility with older implementations), values must be added to the end of this enum.static enum
The current version of the client/server protocol. -
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
static final int
static final String
Indicates that a field was filtered by the server.static final byte
static final byte
static final int
static final byte
static final int
Fields inherited from class com.aoindustries.aoserv.client.GlobalObjectStringKey
pkey
Fields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
Constructor Summary
ConstructorDescriptionDeprecated.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkResult
(int code, StreamableInput in) protected Object
getColumnImpl
(int i) void
Initializes this object from the raw database contents.void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectStringKey
equals, getKey, hashCode, toStringImpl
Methods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, read, toString, write
-
Field Details
-
NEXT
public static final byte NEXT- See Also:
-
DONE
public static final byte DONE- See Also:
-
IO_EXCEPTION
public static final byte IO_EXCEPTION- See Also:
-
SQL_EXCEPTION
public static final byte SQL_EXCEPTION- See Also:
-
FALSE
public static final int FALSE- See Also:
-
TRUE
public static final int TRUE- See Also:
-
SERVER_DOWN
public static final int SERVER_DOWN- See Also:
-
FILTERED
Indicates that a field was filtered by the server.- See Also:
-
-
Constructor Details
-
AoservProtocol
Deprecated.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
checkResult
- Throws:
IOException
SQLException
-
getColumnImpl
- Specified by:
getColumnImpl
in classAoservObject<String,
AoservProtocol>
-
getVersion
-
getCreated
-
getComments
-
getLastUsed_time
-
getLastUsed
-
getTableId
- Specified by:
getTableId
in classAoservObject<String,
AoservProtocol>
-
init
Description copied from class:AoservObject
Initializes this object from the raw database contents.- Specified by:
init
in classAoservObject<String,
AoservProtocol> - Parameters:
result
- theResultSet
containing the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in classAoservObject<String,
AoservProtocol> - Throws:
IOException
-
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Specified by:
write
in classAoservObject<String,
AoservProtocol> - Throws:
IOException
-