SipServerConnection represents SIP server transaction.
See Also: JSR180 See Also: spec, v 1.0.1, p 33-36
Method Summary
public void
initResponse(int code) Initializes SipServerConnection with a specific SIP response to the
received request.
public void
setReasonPhrase(java.lang.String phrase) Changes the default reason phrase.
Parameters: phrase - - the default reason phrase. throws: SipException - - INVALID_STATE if the response can notbe initialized,because of wrong state.
Initializes SipServerConnection with a specific SIP response to the
received request.
See Also: JSR180 See Also: spec, v 1.0.1, p 36 Parameters: code - - Response status code 1xx - 6xx throws: IllegalArgumentException - - if the status code is out ofrange 100-699 (RFC 3261 p.28-29) throws: SipException - - INVALID_STATE if the response can not beinitialized, because of wrong state.
Changes the default reason phrase.
Parameters: phrase - - the default reason phrase. throws: SipException - - INVALID_STATE if the response can notbe initialized,because of wrong state. INVALID_OPERATION if the reason phrase can notbe set. throws: IllegalArgumentException - - if the reason phrase is illegal.