|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.PacketParser
public final class PacketParser
The class parses incoming packets.
Method Summary | |
---|---|
java.lang.Object |
clone()
Implementation of the singleton design pattern. |
static PacketParser |
getPacketParser()
Implementation of the singleton design pattern |
AddressBlock |
parseAddressBlock()
The method parses an address block |
ParsedPacket |
parsePacket(java.net.DatagramPacket datagramPacket,
Interface iface)
The method takes an incoming packet on a given interface and parses it. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PacketParser getPacketParser()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public ParsedPacket parsePacket(java.net.DatagramPacket datagramPacket, Interface iface) throws java.text.ParseException
datagramPacket
- the incoming packetiface
- the interface that received the packet
java.text.ParseException
public AddressBlock parseAddressBlock() throws java.text.ParseException
java.text.ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |