18 #ifndef _LOG4CXX_NET_SOCKET_HUB_APPENDER_H 19 #define _LOG4CXX_NET_SOCKET_HUB_APPENDER_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 27 #include <log4cxx/appenderskeleton.h> 29 #include <log4cxx/helpers/thread.h> 30 #include <log4cxx/helpers/objectoutputstream.h> 37 class ObjectOutputStream;
38 typedef ObjectPtrT<ObjectOutputStream> ObjectOutputStreamPtr;
115 static int DEFAULT_PORT;
118 ObjectOutputStreamList streams;
123 BEGIN_LOG4CXX_CAST_MAP()
126 END_LOG4CXX_CAST_MAP()
144 virtual void setOption(
const LogString& option,
const LogString& value);
146 virtual void close();
181 this->locationInfo = locationInfo1;
197 static void* LOG4CXX_THREAD_FUNC monitor(apr_thread_t* thread,
void* data);
205 #if defined(_MSC_VER) 206 #pragma warning ( pop ) 209 #endif // _LOG4CXX_NET_SOCKET_HUB_APPENDER_H This class implements an approximation of java.util.Thread.
Definition: thread.h:59
Implementation base class for all appenders.
Definition: appenderskeleton.h:45
void setLocationInfo(bool locationInfo1)
The LocationInfo option takes a boolean value.
Definition: sockethubappender.h:179
void setPort(int port1)
The Port option takes a positive integer representing the port where the server is waiting for connec...
Definition: sockethubappender.h:163
virtual bool requiresLayout() const
The SocketHubAppender does not use a layout.
Definition: sockethubappender.h:155
Sends LoggingEvent objects to a set of remote log servers, usually a SocketNode.
Definition: sockethubappender.h:109
int getPort() const
Returns value of the Port option.
Definition: sockethubappender.h:170
Definition: appender.h:33
bool getLocationInfo() const
Returns value of the LocationInfo option.
Definition: sockethubappender.h:186
smart pointer to a Object descendant
Definition: objectptr.h:54