public final class SpaceCalcMessageTypeV1_0 extends SpaceCalcMessageType
This message type has the following fields :
Zone | Format | Length | Description |
---|---|---|---|
USERID | STRING | The name of the user issuing the monitor command. Can be the zero-length string, but if not, it must be a name that appears in some tuple of the USER relvar. | |
AUTHBYCLIENT | INTEGER | 1 | 1 if the client has authenticated the user, 0 otherwise. |
AUTHALGORITHM | STRING | The name of the signing algorithm used to compute SIGNATURE. Can be the zero-length string. | |
SIGNATURELENGTH | INTEGER | 2 | The number of bytes in SIGNATURE. Can be zero, in which case the SIGNATURE field is omitted from the message. |
SIGNATURE | BYTES | The signature as computed by the signature algorithm identified by AUTHALGORITHM, using the user's private key corresponding to the public key that is registered for the user in the USERCERTIFICATE relvar, and applied to the CHALLENGE field obtained from the preceding ServerHello response message. | |
ENTRYTYPE | STRING | Indicator for the type of storage space for which the computation is done. Allowable values are TREE, HASH, DATA or MHSH. | |
ENTRYSIZE | INTEGER | 4 | The size of an individual entry (of the involved type) in the storage space. E.g. in a DATA space, the physical length of a record (the number of bytes occupied by the encoded attribute values) to be stored in it. |
ENTRYCOUNT | INTEGER | 8 | The number of entries that the storage space is expected to be able to handle. |
PAGESIZE | INTEGER | 4 | The size of the pages in the storage space. |
GAPCOUNT | INTEGER | 4 | For DATA and MHSH storage space types, the number of physical gaps that are to be allowed to appear internally on the page before page compression is attempted. |
MESSAGETYPEID
Modifier and Type | Method and Description |
---|---|
static SpaceCalcMessageTypeV1_0 |
getInstance()
Gets The instance of the message type
|
SpaceCalcMessage |
message(MessageParams commandParams,
byte[] signature,
java.lang.String userAuthenticationAlgorithm,
boolean authenticatedByClient,
java.lang.String userID)
Produces a CompiledMonitorCommandMessage of the appropriate type reflecting the given attribute values
|
public static SpaceCalcMessageTypeV1_0 getInstance()
public SpaceCalcMessage message(MessageParams commandParams, byte[] signature, java.lang.String userAuthenticationAlgorithm, boolean authenticatedByClient, java.lang.String userID)
ExecuteCompiledMonitorCommandMessageType
message
in class ExecuteCompiledMonitorCommandMessageType
commandParams
- The command object's relevant params to be communicated in a message to the serversignature
- The signature authenticating the user IDuserAuthenticationAlgorithm
- Name of the Signature algorithm to be used when signing the user ID/verifying the userID signatureauthenticatedByClient
- true if the user has been authenticated by the clientuserID
- The ID of the user issuing the monitor command