|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.message.Message
com.sun.slamd.message.ReportStatisticMessage
This class defines a message that clients will use to report statistics to the SLAMD server's real-time stat colleciton facility.
| Field Summary |
| Constructor Summary | |
ReportStatisticMessage(int messageID,
java.lang.String jobID,
ASN1Sequence[] dataSequences)
Creates a new report statistic message with the provided information. |
|
| Method Summary | |
static ReportStatisticMessage |
decodeReportStatMessage(int messageID,
ASN1Element element)
Decodes the provided ASN.1 element as a report statistic message. |
ASN1Element |
encode()
Encodes this message into an ASN.1 element. |
ASN1Sequence[] |
getDataSequences()
Retrieves the ASN.1 sequences containing the data to be reported. |
java.lang.String |
getJobID()
Retrieves the job ID of the job with which this data is associated. |
java.lang.String |
toString()
Retrieves a string representation of this message. |
| Methods inherited from class com.sun.slamd.message.Message |
decode, getMessageID, getMessageType, send |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ReportStatisticMessage(int messageID,
java.lang.String jobID,
ASN1Sequence[] dataSequences)
messageID - The message ID to use for this message.jobID - The job ID with which this data is associated.dataSequences - The ASN.1 sequences containing the data to be
reported.| Method Detail |
public java.lang.String getJobID()
public ASN1Sequence[] getDataSequences()
public java.lang.String toString()
toString in class Message
public static ReportStatisticMessage decodeReportStatMessage(int messageID,
ASN1Element element)
throws SLAMDException
messageID - The message ID to use for this message.element - The ASN.1 element containing the ReportStat sequence.
SLAMDException - If the provided ASN.1 element cannot be decoded
as a report statistic message.public ASN1Element encode()
ReportStat ::= [APPLICATION 20] SEQUENCE { jobID OCTET STRING, dataSequence SEQUENCE OF SEQUENCE }
encode in class Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||