verinec.netsim.components.layers
Interface Observer

All Known Implementing Classes:
abstractNetworkLayer, ApplicationLayer, DataLinkLayer, NetworkLayer, PhysicalNetworkLayer, TransportLayer

public interface Observer

Object is the Object Interface in the Observer Designpattern. In this case it's used to Observe Upper and Lower Network Layers

Version:
$Revision: 47 $
Author:
Dominik Jungo

Method Summary
 void getDownEvent(PacketArrivedEventDown event)
          Receives a PacketEventArrived from above.
 void getUpEvent(PacketArrivedEventUp event)
          Receives a PacketEventArrived from below.
 

Method Detail

getUpEvent

void getUpEvent(PacketArrivedEventUp event)
Receives a PacketEventArrived from below. Equivalent to the update method in the Observer Designpattern

Parameters:
event - a PacketEventArrived to be received

getDownEvent

void getDownEvent(PacketArrivedEventDown event)
Receives a PacketEventArrived from above. Equivalent to the update method in the Observer Designpattern

Parameters:
event - a PacketEventArrived to be received

Copyright © 2005 Verinec, DIUF