|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.util.commtrace.IPPacket
public abstract class IPPacket
Abstract packet class.
Contains this packet's rawdata and type.
Allows for easy access to this packet.
Field Summary | |
---|---|
static int |
ARP
Address Resolution Protocol |
static int |
IP4
Internet Protocol Version Four |
static int |
IP6
Internet Protocol Version Six |
static int |
RARP
Reverse Address Resolution Protocol |
static int |
UNK
Unknown IPPacket |
Constructor Summary | |
---|---|
IPPacket()
Default constructor. |
Method Summary | |
---|---|
Header |
getHeader()
Returns the header of this packet. |
String |
getName()
The name of this packet |
int |
getType()
Returns the type of this packet. |
void |
setType(int type)
Sets the type of this packet. |
String |
toString(FormatProperties filter)
Returns a printable representation of this packet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ARP
public static final int RARP
public static final int IP4
public static final int IP6
public static final int UNK
Constructor Detail |
---|
public IPPacket()
Method Detail |
---|
public String toString(FormatProperties filter)
filter
- FormatProperties object for filtering this packet.
public Header getHeader()
public String getName()
public int getType()
public void setType(int type)
type
- the type of this packet.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |