be.SIRAPRISE.messages
Class ExecuteMonitorCommandMessageType

java.lang.Object
  extended by be.SIRAPRISE.messages.ServerMessageType
      extended by be.SIRAPRISE.messages.ServerInputMessageType
          extended by be.SIRAPRISE.messages.ExecuteMonitorCommandMessageType
Direct Known Subclasses:
ExecuteMonitorCommandMessageTypeV1_0

public abstract class ExecuteMonitorCommandMessageType
extends ServerInputMessageType

The ExecuteMonitorCommandMessageType is the type of message sent by a monitor client that wants to execute a monitor command on a SIRA_PRISE server.

Author:
Erwin Smout

Field Summary
static int MESSAGETYPEID
          Comment for MESSAGETYPEID
 
Method Summary
abstract  ExecuteMonitorCommandMessage message(java.lang.String monitorCommand, byte[] signature, java.lang.String userAuthenticationAlgorithm, boolean authenticatedByClient, java.lang.String userID)
          Produces an ExecuteMonitorCommandMessage of the appropriate type reflecting the given attribute values
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGETYPEID

public static final int MESSAGETYPEID
Comment for MESSAGETYPEID

See Also:
Constant Field Values
Method Detail

message

public abstract ExecuteMonitorCommandMessage message(java.lang.String monitorCommand,
                                                     byte[] signature,
                                                     java.lang.String userAuthenticationAlgorithm,
                                                     boolean authenticatedByClient,
                                                     java.lang.String userID)
Produces an ExecuteMonitorCommandMessage of the appropriate type reflecting the given attribute values

Parameters:
monitorCommand - The monitor command to be executed
signature - The signature authenticating the user ID
userAuthenticationAlgorithm - Name of the Signature algorithm to be used when signing the user ID/verifying the userID signature
authenticatedByClient - true if the user has been authenticated by the client
userID - The ID of the user issuing the monitor command
Returns:
The ExecuteMonitorCommandMessage of the appropriate type reflecting the given attribute values