diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
commit | 40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch) | |
tree | 37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /netsvcs/lib/Log_Message_Receiver.h | |
parent | c254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff) | |
download | ATCD-40fdc8a404e75ab03b68cc62e9987cf208fd8c30.tar.gz |
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'netsvcs/lib/Log_Message_Receiver.h')
-rw-r--r-- | netsvcs/lib/Log_Message_Receiver.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/netsvcs/lib/Log_Message_Receiver.h b/netsvcs/lib/Log_Message_Receiver.h index 1124b3f4884..d72a07ac809 100644 --- a/netsvcs/lib/Log_Message_Receiver.h +++ b/netsvcs/lib/Log_Message_Receiver.h @@ -38,7 +38,7 @@ // The requiremnts on a log manager receiver, T, are quite simple. // 1: There must exist one "log_record" member function with the following // prototype: -// void log_record(const ACE_TCHAR *hostname, +// void log_record(char const* hostname, // ACE_Log_Record &record); // // 2: There must exist a public destructor. @@ -53,7 +53,7 @@ // receiver. // // Methods: -// void log_record(const ACE_TCHAR* hostname, +// void log_record(char const* hostname, // ACE_Log_Record& record) // Description: // Processes the log record "record" from the host "hostname" @@ -104,12 +104,12 @@ class Static_Log_Message_Receiver // prints the content of log_records on stderr. public: - static void log_record(const ACE_TCHAR *hostname, + static void log_record(const char *hostname, ACE_Log_Record &record); // Prints the log_record to stderr using record.print (hostname, 0, stderr). // Serializes the output by using a ACE_SYNCH_MUTEX. - static void log_output(const ACE_TCHAR *hostname, + static void log_output(const char *hostname, ACE_Log_Record &record, ostream *output); // Prints the log_record to a user specified ostream. @@ -159,10 +159,10 @@ public: Log_Message_Receiver(Log_Message_Receiver<ACE_SYNCH_USE> const &rhs); ~Log_Message_Receiver (void); - void log_record (const ACE_TCHAR *hostname, + void log_record (const char *hostname, ACE_Log_Record &record); - void log_output(const ACE_TCHAR *hostname, + void log_output(const char *hostname, ACE_Log_Record &record, ostream *output); private: @@ -185,10 +185,10 @@ public: static Log_Message_Receiver_Impl *attach (Log_Message_Receiver_Impl<ACE_SYNCH_USE> *body); static void detach (Log_Message_Receiver_Impl<ACE_SYNCH_USE> *body); - void log_record (const ACE_TCHAR *hostname, + void log_record (const char *hostname, ACE_Log_Record &record); - void log_output(const ACE_TCHAR *hostname, + void log_output(const char *hostname, ACE_Log_Record &record, ostream *output); |