|
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.AceDatagram
public class AceDatagram
This class represents an Ace Datagram Packet exception.
This exception occurs when a generated response is placed in the set of previous responses. This should never occur as a duplicate request should have been sent the old response.
This is an internal error exception.
| Constructor Summary | |
|---|---|
AceDatagram()
Default constructor for AceDatagram. |
|
AceDatagram(byte[] data,
int dataLength)
Constructor for AceDatagram (incoming packets). |
|
AceDatagram(byte[] data,
int dataLength,
java.net.InetAddress address,
int port)
Constructor for AceDatagram. |
|
| Method Summary | |
|---|---|
java.net.InetAddress |
getAddress()
This method gets the address of the datagram packet. |
byte[] |
getData()
Constructor for AceDatagram (incoming packets). |
java.net.DatagramPacket |
getDatagramPacket()
Constructor for AceDatagram (incoming packets). |
int |
getLength()
Constructor for AceDatagram (incoming packets). |
int |
getPort()
This method gets the port of the datagram packet. |
void |
setAddress(java.net.InetAddress address)
|
void |
setPort(int port)
|
java.lang.String |
toString()
Converts th datagram into a string representation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AceDatagram()
public AceDatagram(byte[] data,
int dataLength,
java.net.InetAddress address,
int port)
throws AcePacketException
data - The data into or from the packet will be created.dataLength - The packet length. This may be different than the actual
size of the data array buffer.address - The address to which a packet will be sent. If both this is null
and port is zero, then an 'incoming' datagram is created.port - The port to which data will be sent. May be zero if address is null.
AcePacketException
public AceDatagram(byte[] data,
int dataLength)
throws AcePacketException
data - The data into or from the packet will be created.dataLength - The packet length. This may be different than the actual
size of the data array buffer.
AcePacketException| Method Detail |
|---|
public java.net.DatagramPacket getDatagramPacket()
throws AcePacketException
data - The data into or from the packet will be created.dataLength - The packet length. This may be different than the actual
size of the data array buffer.
AcePacketExceptionpublic java.net.InetAddress getAddress()
public int getPort()
public byte[] getData()
data - The data into or from the packet will be created.dataLength - The packet length. This may be different than the actual
size of the data array buffer.
public int getLength()
data - The data into or from the packet will be created.dataLength - The packet length. This may be different than the actual
size of the data array buffer.
public java.lang.String toString()
toString in class java.lang.Objectpublic void setAddress(java.net.InetAddress address)
address - The address to set.public void setPort(int port)
port - The port to set.
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||