org.apache.logging.log4j.core.appender
Class TlsSyslogFrame

java.lang.Object
  extended by org.apache.logging.log4j.core.appender.TlsSyslogFrame

public class TlsSyslogFrame
extends Object

Wrapper for messages that are formatted according to RFC 5425.


Field Summary
static char SPACE
           
 
Constructor Summary
TlsSyslogFrame(String message)
           
 
Method Summary
 boolean equals(Object frame)
           
 boolean equals(TlsSyslogFrame frame)
           
 byte[] getBytes()
           
 String getMessage()
           
 void setMessage(String message)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SPACE

public static final char SPACE
See Also:
Constant Field Values
Constructor Detail

TlsSyslogFrame

public TlsSyslogFrame(String message)
Method Detail

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

getBytes

public byte[] getBytes()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object frame)
Overrides:
equals in class Object

equals

public boolean equals(TlsSyslogFrame frame)


Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.