Re: (no subject)

"M. Rangnathan" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
The two are equal provided the ServerTransaction is not null. If 
AUTOMATIC_DIALOG_SUPPORT is off,  the stack does not automatically 
create dialogs, nor does it automatically create server transactions and 
associate them with dialogs. The Application can call 
SipProvider.getNewServerTransaction on any Request   and 
SipProvider.getNewDialog(serverTransaction) on a previously created 
server transaction it created in the case of Dialog-Creating Requests. 
In the case of non-dialog creating reqeusts which are in an exsiting 
dialog the application will see a null transaction but non-null dialog. 
When the application calls SipProvider.getNewServerTransaction(Request)  
the newly created server transaction will be associated with the Dialog 
passed in on the RequestEvent.

Hope that is clear. :-)


This was added to allow explicit control over transaction and dialog 
creation by applications

Shaoke Wu wrote:

>hello! I'm confused by the RequestEvent whose constructor is :
>RequestEvent(Object source, ServerTransaction serverTransaction, Dialog
>dialog, Request request). By this constructor the serverTransaction also
>contains a dialog. My questions is: Is the dialog contained in the
>serverTransaction equals to the dialog in the constructor. Thanks for
>your help!
>
>_______________________________________________
>nist-sip mailing list
>[email protected]
>http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
>
>  
>


-- 
M. Ranganathan 

Advanced Networking Technologies Division,
National Institute of Standards and Technology (NIST),
100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. 
tel:301 975 3664 , fax:301 590 0932 http://w3.antd.nist.gov/
Advanced Networking Technologies For the People!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.