Inheritance diagram for VersionMango::SocketAppender:
Public Member Functions | |
this (Layout layout, InternetAddress address) | |
~this () | |
void | setAddress (InternetAddress address) |
uint | getMask () |
char[] | getName () |
void | append (Event event) |
void | close () |
Static Public Member Functions | |
this () | |
Private Member Functions | |
void | setLayout (Layout layout) |
Layout | getLayout () |
void | setNext (Appender next) |
Appender | getNext () |
Static Private Member Functions | |
uint | nextMask () |
Private Attributes | |
IBuffer | buffer |
Static Private Attributes | |
uint | mask |
Definition at line 51 of file SocketAppender.d.
|
Ensure the socket is closed when we're GC'd Definition at line 85 of file SocketAppender.d. |
|
Get a unique fingerprint for this class Reimplemented from Appender. Definition at line 62 of file SocketAppender.d. |
|
Create with the given Layout and address Definition at line 73 of file SocketAppender.d. |
|
Set the destination address and port for this socket Definition at line 96 of file SocketAppender.d. References Socket::connect(), SocketConduit::createBuffer(), and SocketConduit. |
|
Return the fingerprint for this class Reimplemented from Appender. Definition at line 114 of file SocketAppender.d. |
|
Return the name of this class Reimplemented from Appender. Definition at line 125 of file SocketAppender.d. |
|
Append an event to the output. Reimplemented from Appender. Definition at line 136 of file SocketAppender.d. |
|
Close the socket associated with this Appender Reimplemented from Appender. Definition at line 151 of file SocketAppender.d. |
|
Static method to return a mask for identifying the Appender. Each Appender class should have a unique fingerprint so that we can figure out which ones have been invoked for a given event. A bitmask is a simple an efficient way to do that. Definition at line 103 of file Appender.d. Referenced by NullAppender::this(), and ConsoleAppender::this(). |
|
Set the current layout to be that of the argument. Definition at line 118 of file Appender.d. Referenced by NullAppender::this(), and ConsoleAppender::this(). |
|
Return the current Layout Definition at line 129 of file Appender.d. References Appender::layout. |
|
Attach another appender to this one Definition at line 140 of file Appender.d. Referenced by LoggerInstance::addAppender(). |
|
Return the next appender in the list Definition at line 151 of file Appender.d. Referenced by LoggerInstance::append(). |
|
Definition at line 53 of file SocketAppender.d. |
|
Definition at line 54 of file SocketAppender.d. |