ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/rzahhcommtraceippacket.htm

69 lines
3.6 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="IPPacket class" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzahhcommtraceippacket" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>IPPacket class</title>
</head>
<body id="rzahhcommtraceippacket"><a name="rzahhcommtraceippacket"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">IPPacket class</h1>
<div><p></p>
<div class="section"><p>The <a href="javadoc/com/ibm/as400/util/commtrace/IPPacket.html">IPPacket class</a> is the abstract superclass
for creating classes that represent specific kinds of packets. The subclasses
of IPPacket include:</p>
<ul><li>ARPPacket</li>
<li>IP4Packet</li>
<li>IP6Packet</li>
<li>UnknownPacket</li>
</ul>
<p>Packet classes enable you to retrieve the type of packet and access
the raw data (the header and payload) that the packet contains. All the subclasses
use similar constructors and include one additional method that returns a
printable version of the packet contents as a String.</p>
<p>All the Packet
class constructors take a byte array of packet data as an argument, but the
ARPPacket also requires an integer that specifies the type of frame. Creating
an instance of a Packet class automatically creates the appropriate Header
object. </p>
<p>The Packet classes provide methods that allow you to perform
a variety of actions that include the following:</p>
<ul><li>Retrieve the name and type of the packet</li>
<li>Set the type of the packet</li>
<li>Return the top-level Header object associated with the packet</li>
<li>Return all the packet data as an unformatted String </li>
<li>Return specific data from the packet as a formatted String</li>
</ul>
</div>
<div class="section"><h4 class="sectiontitle">Javadoc reference documentation</h4><p>For more information
about the Packet classes, see the following Javadoc reference documentation:</p>
<blockquote> <p><a href="javadoc/com/ibm/as400/util/commtrace/IPPacket.html">IPPacket</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/ARPPacket.html">ARPPacket</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/IP4Packet.html">IP4Packet</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/IP6Packet.html">IP6Packet</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/UnknownPacket.html">UnknownPacket</a></p>
</blockquote>
</div>
</div>
</body>
</html>