|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AceResponse
This is the Ace Response Interface. All response classes must implement this interface. This specifies generic methods for handling responses.
| Method Summary | |
|---|---|
void |
buildResponsePacket()
Builds a response packet by writing the AceResponse to the byte-buffer. |
AcePacketHeader |
getHeader()
This method provides the protocol version of the response packet. |
java.net.DatagramPacket |
getPacket()
This method provides the response packet. |
byte |
getProtocolVersion()
This method provides the protocol version of the response packet. |
byte |
getResponseMsgType()
This method provides the type of the response packet. |
int |
getResponseSize()
This method provides the size of the response packet. |
int |
getResponseStatus()
This method provides the status for the response packet. |
AcePacketTrailer |
getTrailer()
|
void |
processResponse()
Overridden to perform the actual processing of the packet. |
java.nio.ByteBuffer |
readResponse()
This method implements the reading of the response packet. |
java.lang.String |
toString()
Convert the response packet to a string. |
void |
writeResponse(java.nio.ByteBuffer buf)
This method implements the writing of the response packet. |
| Method Detail |
|---|
void writeResponse(java.nio.ByteBuffer buf)
throws AcePacketException
buf - The byte-butter to which the response is written.
AcePacketException - If there is a problem writing the response
bytes to the byte buffer.
java.nio.ByteBuffer readResponse()
throws AcePacketException
buf - The byte-butter to which the response is written.
AcePacketException - If there is a problem writing the response
bytes to the byte buffer.
void processResponse()
throws AcePacketException
AcePacketExceptionint getResponseSize()
byte getResponseMsgType()
byte getProtocolVersion()
AcePacketHeader getHeader()
int getResponseStatus()
void buildResponsePacket()
throws AcePacketException
AcePacketException - If there is a problem writing the packet byte-buffer.
java.net.DatagramPacket getPacket()
throws AcePacketException
AcePacketException - If there is a problem converting the repsonse
bytes to a datagram.AcePacketTrailer getTrailer()
java.lang.String toString()
toString in class java.lang.Object
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||