public interface CommsLogger
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Signals the logger to clean up.
|
void |
logReceive(CotEvent msg,
java.lang.String rxid,
java.lang.String server)
Logs a message comming in from a rxid (uid) and optionally from a
specific tak server.
|
void |
logSend(CotEvent msg,
java.lang.String destination)
Logs a message being sent to a specific destination.
|
void |
logSend(CotEvent msg,
java.lang.String[] toUIDs)
Logs a message being sent to one or more contacts
|
void logSend(CotEvent msg, java.lang.String destination)
msg
- the message to be sentdestination
- the destination address of the message for messages not sent to a
contact.void logSend(CotEvent msg, java.lang.String[] toUIDs)
msg
- the message to be senttoUIDs
- the destination the message for contacts in the system.void logReceive(CotEvent msg, java.lang.String rxid, java.lang.String server)
msg
- the message that was received.rxid
- the receive id, can be null.server
- the server information, can be null.void dispose()