|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openhealthexchange.openpixpdq.ihe.audit.RSyslogMessenger
public class RSyslogMessenger
This is the secure logging message implementation. It required the beepcore java library, but implements its own rsyslog layer. Beep is the transport mechanism (RFCs 3080 and 3081), and rsyslog is the message mechanism (RFC 3195).
There are concessions for broken log servers. HIPAAT can't accept messages over 1030, and needs the xml escaped out. The Quovadx server need the xml in a cdata.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.openhealthexchange.openpixpdq.ihe.audit.IMessageTransmitter |
---|
IMessageTransmitter.Severity |
Field Summary | |
---|---|
(package private) int |
facility
|
(package private) IMessageTransmitter.Severity |
severity
|
Constructor Summary | |
---|---|
RSyslogMessenger(AuditTrailDescription description)
Loads up a connection to the specified logging server. |
Method Summary | |
---|---|
AuditTrailDescription |
getAuditTrailDescription()
Get the description of this connection. |
static void |
main(java.lang.String[] argv)
For testing only. |
void |
sendMessage(java.lang.String message)
Send a message using this transmitter using the default facility and level. |
void |
sendMessage(java.lang.String message,
IMessageTransmitter.Severity severity)
Send a message using this transmitter using the given level. |
void |
setDefaultSeverity(IMessageTransmitter.Severity severity)
Set the default level for the transmitter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int facility
IMessageTransmitter.Severity severity
Constructor Detail |
---|
public RSyslogMessenger(AuditTrailDescription description)
Method Detail |
---|
public void sendMessage(java.lang.String message)
IMessageTransmitter
sendMessage
in interface IMessageTransmitter
public void sendMessage(java.lang.String message, IMessageTransmitter.Severity severity)
IMessageTransmitter
sendMessage
in interface IMessageTransmitter
public void setDefaultSeverity(IMessageTransmitter.Severity severity)
IMessageTransmitter
setDefaultSeverity
in interface IMessageTransmitter
public AuditTrailDescription getAuditTrailDescription()
IMessageTransmitter
getAuditTrailDescription
in interface IMessageTransmitter
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |