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.icmp.IcmpHeaderToNetMessenger

java.lang.Object
  |
  +--fi.hut.tcm.jacob.tcpip.icmp.IcmpHeaderToNetMessenger

public class IcmpHeaderToNetMessenger
extends java.lang.Object
implements fi.hut.tcm.jacob.conduits.Messenger
IcmpHeaderToNetMessenger

This is the messenger that contains the logic for ICMP messages going out to the network. Contains a method for calculating the checksum of this ICMP message and adds it to the message.


Field Summary
static IcmpHeaderToNetMessenger instance
          There should exist only one Messenger of this kind.
 
Method Summary
void apply(fi.hut.tcm.jacob.conduits.Message message, fi.hut.tcm.jacob.conduits.State state, fi.hut.tcm.jacob.conduits.Session session)
          Method for applying a message to a state of a specific session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

instance

public static IcmpHeaderToNetMessenger instance
There should exist only one Messenger of this kind.
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)
Method for applying a message to a state of a specific session.
Specified by:
apply(fi.hut.tcm.jacob.conduits.Message, fi.hut.tcm.jacob.conduits.State, fi.hut.tcm.jacob.conduits.Session) in interface fi.hut.tcm.jacob.conduits.Messenger
Parameters:
message - Message
state - State
session - Session

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