| java.lang.Object gov.nist.siplite.stack.MessageLog
Constructor Summary | |
public | MessageLog(String message, String source, String destination, String timeStamp, boolean isSender, String firstLine, String statusMessage, String tid, String callId) Constructor with initial parameters. | public | MessageLog(String message, String source, String destination, long timeStamp, boolean isSender, String firstLine, String statusMessage, String tid, String callId) Constructor with initial parameters. |
Method Summary | |
public boolean | equals(Object other) Compares object for equivalence. | public String | flush(long startTime) Constructs an XML formatted log message. | public String | flush() Constructs an XML formatted log message. | protected long | getTimeStamp() Gets the logged timestamp. |
MessageLog | public MessageLog(String message, String source, String destination, String timeStamp, boolean isSender, String firstLine, String statusMessage, String tid, String callId) throws IllegalArgumentException(Code) | | Constructor with initial parameters.
Parameters: message - the message to be logged Parameters: source - the originator of the message Parameters: destination - the target recipient Parameters: timeStamp - the logging event timestamp Parameters: isSender - true is we are the sender Parameters: firstLine - the first line from the message Parameters: statusMessage - the status line from the transaction Parameters: tid - the transaction identifier Parameters: callId - the caller identification exception: IllegalArgumentException - if the message is null,or the timeStamp is not valid |
MessageLog | public MessageLog(String message, String source, String destination, long timeStamp, boolean isSender, String firstLine, String statusMessage, String tid, String callId) throws IllegalArgumentException(Code) | | Constructor with initial parameters.
Parameters: message - the message to be logged Parameters: source - the originator of the message Parameters: destination - the target recipient Parameters: timeStamp - the logging event timestamp Parameters: isSender - true is we are the sender Parameters: firstLine - the first line from the message Parameters: statusMessage - the status line from the transaction Parameters: tid - the transaction identifier Parameters: callId - the caller identification exception: IllegalArgumentException - if the message is null,or the timeStamp is not valid |
equals | public boolean equals(Object other)(Code) | | Compares object for equivalence.
Parameters: other - object to be compared true if the object matches |
flush | public String flush(long startTime)(Code) | | Constructs an XML formatted log message.
Parameters: startTime - time of message output the encode log message |
flush | public String flush()(Code) | | Constructs an XML formatted log message.
the encode log message |
getTimeStamp | protected long getTimeStamp()(Code) | | Gets the logged timestamp.
the timestamp |
|
|