Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class fi.hut.tcm.jacob.tcpip.ip.IpHeaderToNetMessenger

java.lang.Object
  |
  +--fi.hut.tcm.jacob.conduits.BufferMessenger
        |
        +--fi.hut.tcm.jacob.tcpip.ip.IpMessenger
              |
              +--fi.hut.tcm.jacob.tcpip.ip.IpHeaderToNetMessenger

public class IpHeaderToNetMessenger
extends fi.hut.tcm.jacob.tcpip.ip.IpMessenger
IpHeaderToNetMessenger Provides the method addIpHeader() for use by IpHeaderState. AddIpHeader() inserts a default TTL, among other things.


Field Summary
static IpHeaderToNetMessenger instance
           
 
Method Summary
void addIpHeader(fi.hut.tcm.jacob.conduits.Message message)
          Add an IP header frame to message and fill in the fixed values
void apply(fi.hut.tcm.jacob.conduits.Message message, fi.hut.tcm.jacob.conduits.State state, fi.hut.tcm.jacob.conduits.Session session)
          This method is probably going to replace the method addIpHeader(), effectively ignoring the existence of IpHeaderState altogether.
 
Methods inherited from class fi.hut.tcm.jacob.tcpip.ip.IpMessenger
getChecksum, getDestIpAddr, getFlags, getFragOffs, getHLen, getIdentification, getProtocolId, getServiceType, getSrcIpAddr, getTotalLength, getTTL, getVers, setChecksum, setDestIpAddr, setFlags, setFragOffs, setHLen, setIdentification, setProtocolId, setServiceType, setSrcIpAddr, setTotalLength, setTTL, setVers
 
Methods inherited from class fi.hut.tcm.jacob.conduits.BufferMessenger
appendTrailer, copyBuffer, copyData, extractData, get6BytesUnaligned, getBit, getByte, getHalfByte, getInt, getIntUnaligned, getLength, getLong, getLongUnaligned, getShort, getShortUnaligned, hexDump, hexDump, newBuffer, newBuffer, newBuffer, prependHeader, removeHeader, removeTrailer, set6BytesUnaligned, setBit, setByte, setHalfByte, setInt, setIntUnaligned, setLong, setLongUnaligned, setShort, setShortUnaligned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

instance

public static IpHeaderToNetMessenger instance
Method Detail

apply

public void apply(fi.hut.tcm.jacob.conduits.Message message,
                  fi.hut.tcm.jacob.conduits.State state,
                  fi.hut.tcm.jacob.conduits.Session session)
This method is probably going to replace the method addIpHeader(), effectively ignoring the existence of IpHeaderState altogether.

addIpHeader

public void addIpHeader(fi.hut.tcm.jacob.conduits.Message message)
Add an IP header frame to message and fill in the fixed values

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD