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

java.lang.Object
  |
  +--fi.hut.tcm.jacob.tcpip.ip.IpFragmentationState

public class IpFragmentationState
extends java.lang.Object
implements fi.hut.tcm.jacob.conduits.State
IpFragmentationState Provides the methods: -applyFromNet() Simply forwards the IP packet to the IpRoutingMux. -applyToNet(). A state responsible for fragmenting outgoing IP packets that are bigger than the MTU. Ignores incoming packets, except for upodating their messenger reference.


Field Summary
static IpFragmentationState instance
           
 
Method Summary
void applyFromNet(fi.hut.tcm.jacob.conduits.Message message, fi.hut.tcm.jacob.conduits.Session session, fi.hut.tcm.jacob.conduits.Messenger messenger)
          Simply forwards the IP packet to the IpRoutingMux.
void applyToNet(fi.hut.tcm.jacob.conduits.Message message, fi.hut.tcm.jacob.conduits.Session session, fi.hut.tcm.jacob.conduits.Messenger messenger)
          Calls fragmentationNeeded().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

instance

public static IpFragmentationState instance
Method Detail

applyFromNet

public void applyFromNet(fi.hut.tcm.jacob.conduits.Message message,
                         fi.hut.tcm.jacob.conduits.Session session,
                         fi.hut.tcm.jacob.conduits.Messenger messenger)
Simply forwards the IP packet to the IpRoutingMux.

applyToNet

public void applyToNet(fi.hut.tcm.jacob.conduits.Message message,
                       fi.hut.tcm.jacob.conduits.Session session,
                       fi.hut.tcm.jacob.conduits.Messenger messenger)
Calls fragmentationNeeded(). If fragmentationNeeded() returns Error, the packet is forwarded to the IcmpAdaptor. Fragments the packet with fragment() if necessary

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