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
Nested ClassesModifier and TypeClassDescriptionstatic enumSince the ordinals are used in the protocol (for compatibility with older implementations), values must be added to the end of this enum.static enumThe current version of the client/server protocol. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final intstatic final StringIndicates that a field was filtered by the server.static final bytestatic final bytestatic final intstatic final bytestatic final intFields inherited from class com.aoindustries.aoserv.client.GlobalObjectStringKey
pkeyFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckResult(int code, StreamableInput in) protected ObjectgetColumnImpl(int i) voidInitializes this object from the raw database contents.voidread(StreamableInput in, AoservProtocol.Version protocolVersion) voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectStringKey
equals, getKey, hashCode, toStringImplMethods 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, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
checkResult
- Throws:
IOExceptionSQLException
-
getColumnImpl
- Specified by:
getColumnImplin classAoservObject<String,AoservProtocol>
-
getVersion
-
getCreated
-
getComments
-
getLastUsed_time
-
getLastUsed
-
getTableId
- Specified by:
getTableIdin classAoservObject<String,AoservProtocol>
-
init
Description copied from class:AoservObjectInitializes this object from the raw database contents.- Specified by:
initin classAoservObject<String,AoservProtocol> - Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Specified by:
readin classAoservObject<String,AoservProtocol> - Throws:
IOException
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Specified by:
writein classAoservObject<String,AoservProtocol> - Throws:
IOException
-
