5 #ifndef LOG_WALKER_LOG_H
6 #define LOG_WALKER_LOG_H
8 #include "ace/Containers.h"
10 #include "ace/SString.h"
11 #include "ace/Time_Value.h"
12 #include "PeerProcess.h"
13 #include "HostProcess.h"
14 #include "GIOP_Buffer.h"
20 typedef ACE_DLList
<HostProcess
> HostProcesses
;
25 ACE_CString timestamp_
;
28 ACE_CString annotation_
;
29 Invocation
*invocation_
;
32 typedef ACE_Unbounded_Queue
<Incident
> IncidentList
;
42 bool process_file (const ACE_TCHAR
*filename
, const char *alias
= "");
45 virtual void parse_line ();
48 void get_timestamp ();
49 void handle_msg_octets ();
52 void parse_handler_open_i (bool is_ssl
);
53 void parse_connection_handler_ctor_i ();
54 void parse_dump_giop_msg_i ();
55 void parse_HEXDUMP_i ();
56 void parse_open_listener_i ();
57 void parse_got_existing_i ();
58 void parse_muxed_tms_i ();
59 void parse_exclusive_tms_i ();
60 void parse_process_parsed_msgs_i ();
61 void parse_wait_for_event_i ();
62 void parse_wait_on_read_i ();
63 void parse_make_idle_i ();
64 void parse_cleanup_queue_i ();
65 void parse_complete_connection_i ();
66 void parse_close_connection_i ();
67 void parse_begin_connection_i ();
68 void parse_local_addr_i ();
69 void parse_connection_not_complete_i ();
70 void parse_open_as_server_i ();
71 void parse_iiop_connection_handler_ctor_i ();
72 void parse_wait_for_connection_i ();
73 void parse_post_open_i ();
74 void parse_notify_poa_helper_i ();
75 void parse_notify_object_i ();
81 GIOP_Buffer unknown_msg_
;
82 GIOP_Buffer
* dump_target_
;
83 ThreadList giop_waiters_
;
84 ACE_DLList
<PeerProcess
> conn_waiters_
;
85 IncidentList history_
;
87 // parsed for every line
88 ACE_CString timestamp_
;
93 HostProcess
*hostproc_
;
97 #endif // LOG_WALKER_LOG_H