• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * JBoss, Home of Professional Open Source.
3  *
4  * This code has been contributed to the public domain.
5  * This software is provided by NIST as a service and is expressly
6  * provided "AS IS."  NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
7  * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
8  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
9  * AND DATA ACCURACY.  NIST does not warrant or make any representations
10  * regarding the use of the software or the results thereof, including but
11  * not limited to the correctness, accuracy, reliability or usefulness of
12  * the software.
13  *
14  * Permission to use this software is contingent upon your acceptance
15  * of the terms of this agreement.
16  */
17 package gov.nist.core;
18 
19 import java.util.Properties;
20 
21 import javax.sip.SipStack;
22 
23 import gov.nist.javax.sip.message.SIPMessage;
24 
25 /**
26  * @author jean.deruelle@gmail.com
27  *
28  */
29 public interface ServerLogger extends LogLevels {
30 
31 
closeLogFile()32 	 void closeLogFile();
33 
logMessage(SIPMessage message, String from, String to, boolean sender, long time)34 	 void logMessage(SIPMessage message, String from, String to, boolean sender, long time);
35 
logMessage(SIPMessage message, String from, String to, String status, boolean sender, long time)36 	 void logMessage(SIPMessage message, String from, String to, String status,
37 	            boolean sender, long time);
38 
logMessage(SIPMessage message, String from, String to, String status, boolean sender)39 	 void logMessage(SIPMessage message, String from, String to, String status,
40 	            boolean sender);
41 
logException(Exception ex)42 	 void logException(Exception ex);
43 
setStackProperties(Properties stackProperties)44 	 public void setStackProperties(Properties stackProperties);
45 
setSipStack(SipStack sipStack)46 	 public void setSipStack(SipStack sipStack);
47 
48 
49 }
50