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

76 lines
4.0 KiB
HTML
Raw 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="Header 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="rzahhcommtraceheader" />
<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>Header class</title>
</head>
<body id="rzahhcommtraceheader"><a name="rzahhcommtraceheader"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Header class</h1>
<div><p></p>
<div class="section"><p>The <a href="javadoc/com/ibm/as400/util/commtrace/Header.html">Header class</a> is the abstract superclass
for creating classes that represent specific kinds of packet headers. Packet
headers include the associated data (or payload), which can be other headers
and payloads. The subclasses of Header include:</p>
<ul><li>ARPHeader</li>
<li>ExtHeader</li>
<li>ICMP4Header</li>
<li>ICMP6Header</li>
<li>IP4Header</li>
<li>IP6Header</li>
<li>TCPHeader</li>
<li>UDPHeader</li>
<li>UnknownHeader</li>
</ul>
<p>Header classes enable you to retrieve the data for the header and
the payload. One header can encapsulate other headers and their payloads.</p>
<p>Creating
an instance of a Packet class automatically creates the appropriate Header
object. The Header classes provide methods that allow you to perform a variety
of actions that include the following:</p>
<ul><li>Return the length, name, and type of the header</li>
<li>Retrieve the data in the header as a byte array</li>
<li>Retrieve the next header in the packet</li>
<li>Retrieve the payload as a byte array, ASCII string, and hexadecimal string</li>
<li>Return all the header data as an unformatted String </li>
<li>Return specific data from the header as a formatted String</li>
</ul>
</div>
<div class="section"><h4 class="sectiontitle">Javadoc reference documentation</h4><p>For more information
about the Header classes, see the following Javadoc reference documentation:</p>
<blockquote> <p><a href="javadoc/com/ibm/as400/util/commtrace/Header.html">Header</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/ARPHeader.html">ARPHeader</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/ExtHeader.html">ExtHeader</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/ICMP4Header.html">ICMP4Header</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/ICMP6Header.html">ICMP6Header</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/IP4Header.html">IP4Header</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/IP6Header.html">IP6Header</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/TCPHeader.html">TCPHeader</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/UDPHeader.html">UDPHeader</a></p>
<p><a href="javadoc/com/ibm/as400/util/commtrace/UnknownHeader.html">UnknownHeader</a></p>
</blockquote>
</div>
</div>
</body>
</html>