| EventStudio 2.5 Sequence diagram based system design and modeling | |
#include <Datalink_Layer.h> Inheritance diagram for Datalink_Layer:


This class inherits from the Protocol_Layer and overrides the receive and transmit handlers for the layer. The actual layer processing is performed by the Transmit_Protocol_Handler and the Receive_Protocol_Handler classes.
Definition at line 25 of file Datalink_Layer.h.
Public Member Functions | |
| Datalink_Layer () | |
| Construct a Datalink layer object. | |
| void | Transmit (Protocol_Packet *p_Packet) |
| This method handles the transmit side processing. | |
| void | Handle_Receive (Protocol_Packet *p_Packet) |
| This method handles the receive side processing. | |
Private Attributes | |
| Transmit_Protocol_Handler | m_transmit_Protocol_Handler |
| Helper class for handling the transmit side processing for this layer. | |
| Receive_Protocol_Handler | m_receive_Protocol_Handler |
| Helper class for receive side processing for this layer. | |
|
Construct a Datalink layer object. The datalink layer functionality is handled by the Transmit_Protcol_Handler and Receive_Protocol_Handler classes.
Definition at line 19 of file DataLink_Layer.cpp. 00019 : 00020 m_transmit_Protocol_Handler(this), 00021 m_receive_Protocol_Handler(this) 00022 { } |
|
This method handles the transmit side processing. The method receives a Protocol_Packet from the upper layer and passes it to the Trasmit_Protocol_Handler. The Transmit_Protocol_Handler handles the processing for this layer and forwards the message to the next lower layer.
Implements Protocol_Layer. Definition at line 31 of file DataLink_Layer.cpp. 00032 {
00033 m_transmit_Protocol_Handler.Handle_Transmit_Request((Datagram *)p_Packet);
00034 }
|
|
This method handles the receive side processing. The method receives a Protocol_Packet from the lower layer and passes it to the Receive_Protocol_Handler. The Receive_Protocol_Handler handles the processing for this layer and forwards the message to the next upper layer.
Implements Protocol_Layer. Definition at line 43 of file DataLink_Layer.cpp. 00044 {
00045 m_receive_Protocol_Handler.Handle_Received_Packet((Datagram *)p_Packet);
00046 }
|
1.3.4 | |
| Copyright © 2000-2005 EventHelix.com Inc. All Rights Reserved. |