public interface StackMessageFactory
Modifier and Type | Method and Description |
---|---|
ServerRequestInterface |
newSIPServerRequest(SIPRequest sipRequest,
SIPTransaction sipTransaction)
Make a new SIPServerResponse given a SIPRequest and a message
channel.
|
ServerResponseInterface |
newSIPServerResponse(SIPResponse sipResponse,
MessageChannel msgChannel)
Generate a new server response for the stack.
|
ServerRequestInterface newSIPServerRequest(SIPRequest sipRequest, SIPTransaction sipTransaction)
sipRequest
- is the incoming request.serverTransaction
- is the message channel on which this request was
received.ServerResponseInterface newSIPServerResponse(SIPResponse sipResponse, MessageChannel msgChannel)
sipResponse
- is the incoming response.serverTransaction
- is the message channel on which the response was
received.Copyright © 2015. All Rights Reserved.