|
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.AbstractAceResponse
com.rsa.ace.techservice.udpserver.AceOKResponse
com.rsa.ace.techservice.udpserver.AceOKV2Response
public class AceOKV2Response
This class represents an ACE OK V2 Response. (ACM_OK_MSG_2)
This class extends the V1 OK response and has additional values for a version 2 Access OK packet.
| Constructor Summary | |
|---|---|
AceOKV2Response(AceDatagram packet,
AceRequest request)
|
|
AceOKV2Response(AceRequest request,
java.lang.String shell,
byte[] nodeSecret,
AceSecondarySegments secondarySegments)
Creates a new instance of an AceOKV2Response packet. |
|
| Method Summary | |
|---|---|
AceCapabilityResponse |
getCapabilityResponse()
|
int |
getReplicationTime()
|
int |
getResponseSize()
Returns the size of a OK V2 response. |
AceSecondarySegments |
getSecondarySegments()
|
int |
getServerClientRespDelay()
|
int |
getServerDelay()
|
AceServerListResponse |
getServerListResponse()
|
AceServerStatusResponse |
getServerStatusResponse()
|
void |
processResponse()
Process a response packet by reading from the byte-buffer. |
java.lang.String |
toString()
Convert the V2 OK Response to a string. |
void |
writeResponse(java.nio.ByteBuffer buf)
Write an AceOKV2Response to the internal stream. |
| Methods inherited from class com.rsa.ace.techservice.udpserver.AceOKResponse |
|---|
getShell |
| Methods inherited from class com.rsa.ace.techservice.udpserver.AbstractAceResponse |
|---|
buildResponsePacket, getBuffer, getHeader, getNewNodeSecret, getNodeSecret, getPacket, getProtocolVersion, getRequestToThisResponse, getResponseMsgType, getResponseStatus, getTrailer, haveNodeSecret, readResponse, setNodeSecret |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rsa.ace.techservice.udpserver.AceResponse |
|---|
buildResponsePacket, getHeader, getPacket, getProtocolVersion, getResponseMsgType, getResponseStatus, getTrailer, readResponse |
| Constructor Detail |
|---|
public AceOKV2Response(AceDatagram packet,
AceRequest request)
throws AcePacketException
packet -
AcePacketException
public AceOKV2Response(AceRequest request,
java.lang.String shell,
byte[] nodeSecret,
AceSecondarySegments secondarySegments)
throws AcePacketException
request - The AceRequest to be used to initialize the response.shell - The shell to be returned in the response.nodeSecret - The node secret to be returned in the response.secondarySegments - Secondary segment information that should be
returned, if any.
AcePacketExcetion - If a problem is encountered constructing the response.
AcePacketException| Method Detail |
|---|
public void writeResponse(java.nio.ByteBuffer buf)
throws AcePacketException
writeResponse in interface AceResponsewriteResponse in class AceOKResponsebuf - The ByteBuffer to which the response will be written.
AcePacketException - If there is a problem writing the packet fields.
public void processResponse()
throws AcePacketException
processResponse in interface AceResponseprocessResponse in class AceOKResponseAcePacketException
AcePacketException - If there is a problem reading the packet byte-buffer.public int getResponseSize()
getResponseSize in interface AceResponsegetResponseSize in class AbstractAceResponsepublic java.lang.String toString()
toString in interface AceResponsetoString in class AceOKResponsepublic int getReplicationTime()
public AceSecondarySegments getSecondarySegments()
public int getServerClientRespDelay()
public int getServerDelay()
public AceCapabilityResponse getCapabilityResponse()
public AceServerListResponse getServerListResponse()
public AceServerStatusResponse getServerStatusResponse()
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||