| EventStudio 2.5 Sequence diagram based system design and modeling | |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 #ifndef DATALINK_LAYER_H 00011 #define DATALINK_LAYER_H 00012 00013 #include "Protocol_Layer.h" 00014 #include "Transmit_Protocol_Handler.h" 00015 #include "Receive_Protocol_Handler.h" 00016 00017 class Protocol_Packet; 00018 00024 00025 class Datalink_Layer : public Protocol_Layer 00026 { 00028 Transmit_Protocol_Handler m_transmit_Protocol_Handler; 00029 00031 Receive_Protocol_Handler m_receive_Protocol_Handler; 00032 00033 public: 00034 00035 Datalink_Layer(); 00036 00037 // Process and transmit the packet passed by higher layer. 00038 void Transmit(Protocol_Packet *p_Packet); 00039 00040 void Handle_Receive(Protocol_Packet *p_Packet); 00041 00042 }; 00043 00044 #endif
1.3.4 | |
| Copyright © 2000-2005 EventHelix.com Inc. All Rights Reserved. |