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

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

public class IpRoutingOffState
extends IpRoutingState
IpRoutingOffState The RoutingSession is in this state when routing is disabled.


Field Summary
static IpRoutingOffState 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)
          Calls the Messenger's destinationLocal() method which tells if the destination IP address belongs to this machine.
 
Methods inherited from class fi.hut.tcm.jacob.tcpip.ip.IpRoutingState
applyFromNet, applyToNet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

instance

public static final IpRoutingOffState 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)
Calls the Messenger's destinationLocal() method which tells if the destination IP address belongs to this machine. If the destination is local, then the message is forwarded to the ReassemblySession. Packets to nonlocal destinations are destroyed.
Overrides:
applyFromNet in class IpRoutingState

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