|
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
public class AceOKResponse
This class represents an ACE OK Response. (V1)
This class has values for can can construct a agent version one OK response packet.
| Constructor Summary | |
|---|---|
AceOKResponse(AceDatagram packet,
AceRequest request)
|
|
AceOKResponse(AceRequest request,
java.lang.String shell,
byte[] nodeSecret)
Creates a new instance of an AceOKResponse packet |
|
| Method Summary | |
|---|---|
java.lang.String |
getShell()
|
void |
processResponse()
Process a response packet by reading from the byte-buffer. |
java.lang.String |
toString()
Convert the OK Response packet to a string. |
void |
writeResponse(java.nio.ByteBuffer buf)
Write an AceOKResponse to the internal stream. |
| Methods inherited from class com.rsa.ace.techservice.udpserver.AbstractAceResponse |
|---|
buildResponsePacket, getBuffer, getHeader, getNewNodeSecret, getNodeSecret, getPacket, getProtocolVersion, getRequestToThisResponse, getResponseMsgType, getResponseSize, 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, getResponseSize, getResponseStatus, getTrailer, readResponse |
| Constructor Detail |
|---|
public AceOKResponse(AceDatagram packet,
AceRequest request)
throws AcePacketException
packet -
AcePacketException
public AceOKResponse(AceRequest request,
java.lang.String shell,
byte[] nodeSecret)
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.
SocketException - If parts of the original request cannot be accessed.
AcePacketException| Method Detail |
|---|
public void writeResponse(java.nio.ByteBuffer buf)
throws AcePacketException
writeResponse in interface AceResponsewriteResponse in class AbstractAceResponsebuf - The byte buffer to which the response is writtem.
AcePacketException - If there is a problem writing the packet fields.
public void processResponse()
throws AcePacketException
processResponse in interface AceResponseprocessResponse in class AbstractAceResponseAcePacketException
AcePacketException - If there is a problem reading the packet byte-buffer.public java.lang.String toString()
toString in interface AceResponsetoString in class AbstractAceResponsepublic java.lang.String getShell()
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||