1 // The following code illustrates how the ACE_Dumpable mechanisms are
2 // integrated into ACE components like the SOCK_Acceptor and
5 #include "ace/OS_main.h"
9 #include "ace/Reactor.h"
13 ACE_TMAIN (int, ACE_TCHAR
*[])
16 // Note that the SOCK superclass is *not* printed.
17 SOCK_Stream outer_stream
;
18 SOCK_Acceptor outer_acceptor
;
19 ACE_ODB::instance ()->dump_objects ();
22 // Note that the SOCK superclass is *not* printed.
23 SOCK_Stream inner_stream
;
24 SOCK_Acceptor inner_acceptor
;
25 ACE_ODB::instance ()->dump_objects ();
27 ACE_ODB::instance ()->dump_objects ();