• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 * Conditions Of Use
3 *
4 * This software was developed by employees of the National Institute of
5 * Standards and Technology (NIST), an agency of the Federal Government.
6 * Pursuant to title 15 Untied States Code Section 105, works of NIST
7 * employees are not subject to copyright protection in the United States
8 * and are considered to be in the public domain.  As a result, a formal
9 * license is not needed to use the software.
10 *
11 * This software is provided by NIST as a service and is expressly
12 * provided "AS IS."  NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
13 * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
14 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
15 * AND DATA ACCURACY.  NIST does not warrant or make any representations
16 * regarding the use of the software or the results thereof, including but
17 * not limited to the correctness, accuracy, reliability or usefulness of
18 * the software.
19 *
20 * Permission to use this software is contingent upon your acceptance
21 * of the terms of this agreement
22 *
23 * .
24 *
25 */
26 /*******************************************************************************
27 * Product of NIST/ITL Advanced Networking Technologies Division (ANTD)         *
28 *******************************************************************************/
29 package gov.nist.javax.sip.parser;
30 import gov.nist.javax.sip.message.*;
31 
32 /**
33  * Interface  that provides methods for processing good
34  * and bad messages for the PipelinedMessageParser.
35  *
36  * @version 1.2 $Revision: 1.8 $ $Date: 2009/07/17 18:58:04 $
37  * @see PipelinedMsgParser
38  */
39 public interface SIPMessageListener extends ParseExceptionListener {
40     /**
41      * This is called from the parser on successful message processing.
42      * @see ParseExceptionListener for the method that gets called
43      * on parse exception.
44      * @param msg  SIP Message structure that is generated by the parser.
45      */
processMessage(SIPMessage msg)46     public void processMessage(SIPMessage msg) throws Exception;
47 }
48 /*
49  * $Log: SIPMessageListener.java,v $
50  * Revision 1.8  2009/07/17 18:58:04  emcho
51  * Converts indentation tabs to spaces so that we have a uniform indentation policy in the whole project.
52  *
53  * Revision 1.7  2006/07/13 09:02:17  mranga
54  * Issue number:
55  * Obtained from:
56  * Submitted by:  jeroen van bemmel
57  * Reviewed by:   mranga
58  * Moved some changes from jain-sip-1.2 to java.net
59  *
60  * CVS: ----------------------------------------------------------------------
61  * CVS: Issue number:
62  * CVS:   If this change addresses one or more issues,
63  * CVS:   then enter the issue number(s) here.
64  * CVS: Obtained from:
65  * CVS:   If this change has been taken from another system,
66  * CVS:   then name the system in this line, otherwise delete it.
67  * CVS: Submitted by:
68  * CVS:   If this code has been contributed to the project by someone else; i.e.,
69  * CVS:   they sent us a patch or a set of diffs, then include their name/email
70  * CVS:   address here. If this is your work then delete this line.
71  * CVS: Reviewed by:
72  * CVS:   If we are doing pre-commit code reviews and someone else has
73  * CVS:   reviewed your changes, include their name(s) here.
74  * CVS:   If you have not had it reviewed then delete this line.
75  *
76  * Revision 1.3  2006/06/19 06:47:27  mranga
77  * javadoc fixups
78  *
79  * Revision 1.2  2006/06/16 15:26:28  mranga
80  * Added NIST disclaimer to all public domain files. Clean up some javadoc. Fixed a leak
81  *
82  * Revision 1.1.1.1  2005/10/04 17:12:36  mranga
83  *
84  * Import
85  *
86  *
87  * Revision 1.5  2004/02/29 00:46:34  mranga
88  * Reviewed by:   mranga
89  * Added new configuration property to limit max message size for TCP transport.
90  * The property is gov.nist.javax.sip.MAX_MESSAGE_SIZE
91  *
92  * Revision 1.4  2004/01/22 13:26:32  sverker
93  * Issue number:
94  * Obtained from:
95  * Submitted by:  sverker
96  * Reviewed by:   mranga
97  *
98  * Major reformat of code to conform with style guide. Resolved compiler and javadoc warnings. Added CVS tags.
99  *
100  * CVS: ----------------------------------------------------------------------
101  * CVS: Issue number:
102  * CVS:   If this change addresses one or more issues,
103  * CVS:   then enter the issue number(s) here.
104  * CVS: Obtained from:
105  * CVS:   If this change has been taken from another system,
106  * CVS:   then name the system in this line, otherwise delete it.
107  * CVS: Submitted by:
108  * CVS:   If this code has been contributed to the project by someone else; i.e.,
109  * CVS:   they sent us a patch or a set of diffs, then include their name/email
110  * CVS:   address here. If this is your work then delete this line.
111  * CVS: Reviewed by:
112  * CVS:   If we are doing pre-commit code reviews and someone else has
113  * CVS:   reviewed your changes, include their name(s) here.
114  * CVS:   If you have not had it reviewed then delete this line.
115  *
116  */
117