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.IpHeaderSession

java.lang.Object
  |
  +--fi.hut.tcm.jacob.conduits.BaseConduit
        |
        +--fi.hut.tcm.jacob.conduits.Sedaptor
              |
              +--fi.hut.tcm.jacob.conduits.Session
                    |
                    +--fi.hut.tcm.jacob.tcpip.ip.IpHeaderSession

public class IpHeaderSession
extends fi.hut.tcm.jacob.conduits.Session
IpHeaderSession Adds an IP header to outgoing packets and sets the 'protocol' field to match with the associated higher-level protocol. Removes the IP header frame from incoming packets.


Field Summary
int currDatagramId
           
static int MAX_DATAGRAM_ID
           
 
Fields inherited from class fi.hut.tcm.jacob.conduits.BaseConduit
id, SIDE_NUMBER, sides
 
Constructor Summary
IpHeaderSession(fi.hut.tcm.jacob.conduits.State initialState)
           
 
Method Summary
int getNextDatagramId()
           
 
Methods inherited from class fi.hut.tcm.jacob.conduits.Session
accept, apply, setState
 
Methods inherited from class fi.hut.tcm.jacob.conduits.Sedaptor
addTimeout, cancelTimeout, getMessageSource, newMessage, releaseMessage, returnMessage, sendMessage, stopMessage
 
Methods inherited from class fi.hut.tcm.jacob.conduits.BaseConduit
accept, clone, dump, getId, getSide, getSideCount, initialSideCount, initSides
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

currDatagramId

protected int currDatagramId

MAX_DATAGRAM_ID

public static int MAX_DATAGRAM_ID
Constructor Detail

IpHeaderSession

public IpHeaderSession(fi.hut.tcm.jacob.conduits.State initialState)
Method Detail

getNextDatagramId

protected int getNextDatagramId()

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