18 #ifndef _LOG4CXX_NET_TELNET_APPENDER_H 19 #define _LOG4CXX_NET_TELNET_APPENDER_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 74 friend class SocketHandler;
76 static const int DEFAULT_PORT;
77 static const int MAX_CONNECTIONS;
93 virtual
bool requiresLayout()
const 146 ConnectionList connections;
148 log4cxx::helpers::CharsetEncoderPtr encoder;
151 size_t activeConnections;
152 void acceptConnections();
160 #if defined(_MSC_VER) 161 #pragma warning ( pop ) 164 #endif // _LOG4CXX_NET_TELNET_APPENDER_H #define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:153
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:147
Implementation base class for all appenders.
Definition: appenderskeleton.h:43
LOG4CXX_PTR_DEF(AppenderAttachableImpl)
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:141
LOG4CXX_LIST_DEF(ByteList, unsigned char)
Definition: telnetappender.h:71
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
Definition: serversocket.h:28
log4cxx::helpers::SocketPtr Connection
Definition: telnetappender.h:43
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:159
A byte buffer.
Definition: bytebuffer.h:33
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66
int getPort() const
Returns value of the Port option.
Definition: telnetappender.h:114
void setPort(int port1)
The Port option takes a positive integer representing the port where the server is waiting for connec...
Definition: telnetappender.h:123