|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StackMessageFactory
An interface for generating new requests and responses. This is implemented by the application and called by the stack for processing requests and responses. When a Request comes in off the wire, the stack calls newSIPServerRequest which is then responsible for processing the request. When a response comes off the wire, the stack calls newSIPServerResponse to process the response.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |