|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jradius.packet.PacketFactory
public class PacketFactory
RADIUS Packet Factor. Parses RADIUS packets and constructs the appropriate Java class instance.
Constructor Summary | |
---|---|
PacketFactory()
|
Method Summary | |
---|---|
static RadiusPacket |
parse(java.net.DatagramPacket dp)
Parse a UDP RADIUS message |
static RadiusPacket[] |
parse(java.io.DataInputStream input,
int packetCount)
Parse multiple RadiusPackets from a data stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PacketFactory()
Method Detail |
---|
public static RadiusPacket parse(java.net.DatagramPacket dp) throws RadiusException
dp
- The Datagram to be parsed
RadiusException
public static RadiusPacket[] parse(java.io.DataInputStream input, int packetCount) throws RadiusException
input
- The input data streampacketCount
- Number of packets to expect
RadiusException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |