
Ethernet Developers Guide
840 USE 115 00 Version 1.0
71
B.8 Timers
CSample_View re
uires to periodicall
receive a timer messa
e. This messa
e
tri
ers the CSample_View to transmit a messa
e. Since window timers are a
limited resource, the window associated with CMainFrame class receives the timer
messa
es. CMainFrame member AddTimerList function will place a window on its
timer list. When CMainFrame processes the WM_TIMER messa
e, it sends each
window on its time list the user defined WM_POLL_INTERVAL messa
e.
MFC calls CSample_View member OnInitalUpdate function when it is first bein
created. OnInitialUpdate calls CMainFrameís AddTimerList in order to receive the
WM_POLL_INTERVAL messa
e. MFC architectural framework calls
CSample_View OnPollInterval member function to process this messa
e.
B.9 Transaction Processing
CSample_View transaction processin
consists of establishin
a connection,
transmittin
the re
uest, receivin
the response, and displa
in
the response.
CSample_View uses both a transmit and a receive state machine to advance a
transaction.
Kommentare zu diesen Handbüchern