JNodeOS v1.1.5 API

edu.utah.janos.apps.ping
Class PingPacket

java.lang.Object
  |
  +--edu.utah.janos.util.Packet
        |
        +--edu.utah.janos.protocols.icmp.ICMPEcho
              |
              +--edu.utah.janos.apps.ping.PingPacket

public class PingPacket
extends ICMPEcho


Field Summary
static int TIME_SLOT
           
 
Fields inherited from class edu.utah.janos.protocols.icmp.ICMPEcho
ICMP_SLOT, ID_SEQ_SLOT, IP_SLOT
 
Constructor Summary
PingPacket()
           
PingPacket(int src, int dst, short identifier, short seqNum)
           
 
Method Summary
 ICMPHeader getICMPHeader()
           
 IPHeader getIPHeader()
           
 edu.utah.janos.apps.ping.TimeSegment getTimeSegment()
           
 void matchPingReply(DemultiplexKey dk)
           
 
Methods inherited from class edu.utah.janos.protocols.icmp.ICMPEcho
getIdentifier, getSequenceNumber, setIdentifier, setSequenceNumber
 
Methods inherited from class edu.utah.janos.util.Packet
getLength, getSegments, marshal, marshal, toString, unmarshal, unmarshal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TIME_SLOT

public static final int TIME_SLOT
Constructor Detail

PingPacket

public PingPacket(int src,
                  int dst,
                  short identifier,
                  short seqNum)

PingPacket

public PingPacket()
Method Detail

matchPingReply

public void matchPingReply(DemultiplexKey dk)

getIPHeader

public IPHeader getIPHeader()

getICMPHeader

public ICMPHeader getICMPHeader()

getTimeSegment

public edu.utah.janos.apps.ping.TimeSegment getTimeSegment()

JNodeOS v1.1.5 API

This documentation is Copyright (C) 1998-2001 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/