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

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

public class IpReassemblyState
extends java.lang.Object
implements fi.hut.tcm.jacob.conduits.State
IpReassemblyState A state responsible of reassembling fragmented incoming IP packets. Ignores outgoing packets, except for updating their messenger reference..


Field Summary
static IpReassemblyState 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)
          Called by IpReassemblyFromNetMessenger.
void applyToNet(fi.hut.tcm.jacob.conduits.Message message, fi.hut.tcm.jacob.conduits.Session session, fi.hut.tcm.jacob.conduits.Messenger messenger)
          Called by ReassemblyToNetMessenger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

instance

public static final IpReassemblyState 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)
Called by IpReassemblyFromNetMessenger. This method in turn calls the messenger's reassemble() method which does all the work

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)
Called by ReassemblyToNetMessenger. Does not call back on the messenger that called it. Instead it just sets the message's messenger pointer to point to the next messenger. (Yes, we are members of the Humphrey Appleby Fan Club)

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