gov.nist.javax.sip.stack
Class DefaultMessageLogFactory
java.lang.Object
gov.nist.javax.sip.stack.DefaultMessageLogFactory
- All Implemented Interfaces:
- LogRecordFactory
public class DefaultMessageLogFactory
- extends Object
- implements LogRecordFactory
The Default Message log factory. This can be replaced as a stack
configuration parameter.
- Author:
- M. Ranganathan
Method Summary |
LogRecord |
createLogRecord(String message,
String source,
String destination,
long timeStamp,
boolean isSender,
String firstLine,
String tid,
String callId,
long timestampVal)
Create a log record. |
LogRecord |
createLogRecord(String message,
String source,
String destination,
String timeStamp,
boolean isSender,
String firstLine,
String tid,
String callId,
long tsHeaderValue)
|
DefaultMessageLogFactory
public DefaultMessageLogFactory()
createLogRecord
public LogRecord createLogRecord(String message,
String source,
String destination,
String timeStamp,
boolean isSender,
String firstLine,
String tid,
String callId,
long tsHeaderValue)
createLogRecord
public LogRecord createLogRecord(String message,
String source,
String destination,
long timeStamp,
boolean isSender,
String firstLine,
String tid,
String callId,
long timestampVal)
- Description copied from interface:
LogRecordFactory
- Create a log record.
- Specified by:
createLogRecord
in interface LogRecordFactory
- Parameters:
message
- -- the message to be logged.source
- -- host:port of the source of the message.destination
- -- host:port of the destination of the message.timeStamp
- -- The time at which this message was seen by the stack or sent out by
the stack.isSender
- -- true if we are sending the message false otherwise.firstLine
- -- the first line of the message to be logged.tid
- -- the transaction idcallId
- -- the call idtimestampVal
- -- the timestamp header value of the incoming message.
- Returns:
- -- a log record with the appropriate fields set.
A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.