|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rsa.ace.techservice.udpserver.AbstractAceRequest
com.rsa.ace.techservice.udpserver.AceTimeRequest
public class AceTimeRequest
This represents a time request received from an agent. It acts as an AceTimeRequestResponse factory and provides an AceRequest interface for the packet handling classes. The Time Request is special in that no processRequest() function is needed. Since the TimeRequest is contained completely in the header, the method supplied by the AbstractAceRequest handles everything this request needs to do.
| Field Summary |
|---|
| Fields inherited from interface com.rsa.ace.techservice.udpserver.AceRequest |
|---|
NO_RESPONSE, QUEUE_RESPONSE, RESPOND_NOW |
| Constructor Summary | |
|---|---|
AceTimeRequest(AceDatagram pkt)
Creates a new instance of AceTimeRequest from a datagram. |
|
AceTimeRequest(AgentConfig agentConfig)
Creates a new instance of AceTimeRequest. |
|
| Method Summary | |
|---|---|
AceDatagram |
getPacket()
Provides the original packet received from the agent. |
AceResponse |
getResponse()
Get an AceResponse from this request. |
java.lang.String |
toString()
String conversion method. |
| Methods inherited from class com.rsa.ace.techservice.udpserver.AbstractAceRequest |
|---|
getAcePinUtil, getAgentConfig, getBuffer, getCipherProvider, getCreationTime, getEncryptOffset, getHeader, getNonce, getProtocolVersion, getSecretKey, getWpCode, haveNodeSecret, haveSecretKey, processRequest, readTrailer, setEncode, setEncryptOffset, setNodeSecret, setSecretKey, setTrailer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rsa.ace.techservice.udpserver.AceRequest |
|---|
getAgentConfig, getCipherProvider, getCreationTime, getHeader, getNonce, getProtocolVersion, getWpCode, processRequest |
| Constructor Detail |
|---|
public AceTimeRequest(AceDatagram pkt)
throws AcePacketException
pkt - The packet used to construct the request.
AcePacketException - If an error occurs extracting the
time request from the datagram.
public AceTimeRequest(AgentConfig agentConfig)
throws AcePacketException
AcePacketException - If an error occurs constructing the header.| Method Detail |
|---|
public AceDatagram getPacket()
throws AcePacketException
getPacket in interface AceRequestgetPacket in class AbstractAceRequestAcePacketException
public AceResponse getResponse()
throws AcePacketException
getResponse in interface AceRequestAcePacketExceptionpublic java.lang.String toString()
toString in interface AceRequesttoString in class AbstractAceRequest
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||