diff options
Diffstat (limited to 'ACE/apps/drwho/Single_Lookup.cpp')
-rw-r--r-- | ACE/apps/drwho/Single_Lookup.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ACE/apps/drwho/Single_Lookup.cpp b/ACE/apps/drwho/Single_Lookup.cpp new file mode 100644 index 00000000000..d435e19fc6e --- /dev/null +++ b/ACE/apps/drwho/Single_Lookup.cpp @@ -0,0 +1,32 @@ +// $Id$ + +#include "Options.h" +#include "Single_Lookup.h" +#include "ace/ACE.h" +#include "ace/Log_Msg.h" +#include "ace/OS_Memory.h" + +Single_Lookup::Single_Lookup (const char *usr_name) +{ + ACE_NEW (this->prp_, + Protocol_Record (ACE::strnew (usr_name))); +} + +Single_Lookup::~Single_Lookup (void) +{ + if (Options::get_opt (Options::DEBUG)) + ACE_DEBUG ((LM_DEBUG, + "disposing Single_Lookup\n")); +} + +Protocol_Record * +Single_Lookup::get_each_entry (void) +{ + return this->prp_; +} + +Protocol_Record * +Single_Lookup::get_next_entry (void) +{ + return this->get_each_entry (); +} |