Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package gov.nist.javax.sip.stack;
 
The Default Message log factory. This can be replaced as a stack configuration parameter.

Author(s):
M. Ranganathan
public class DefaultMessageLogFactory implements LogRecordFactory {
    public LogRecord createLogRecord(String messageString source,
            String destinationString timeStampboolean isSender,
            String firstLineString tidString callIdlong tsHeaderValue) {
        return new MessageLog(messagesourcedestinationtimeStamp,
                isSenderfirstLinetidcallIdtsHeaderValue);
    }
    public LogRecord createLogRecord(String messageString source,
            String destinationlong timeStampboolean isSender,
            String firstLineString tidString callIdlong timestampVal) {
        return new MessageLog(messagesourcedestinationtimeStamp,
                isSenderfirstLinetidcallIdtimestampVal);
    }
New to GrepCode? Check out our FAQ X