import "zapISipSyntaxFactory.idl";
(see RFC 3261)
Implemented by component '@mozilla.org/zap/sipsyntaxfactory;1'
Public Member Functions | |
| zapISipMessage | deserializeMessage (in ACString octets) |
| Deserialize an RFC3261 'request' or 'response' into a zapISipRequest or zapISipResponse object. | |
| zapISipURI | deserializeURI (in ACString octets) |
| Deserialize an RFC3261 'SIP-URI', 'SIPS-URI' or 'absoluteURI'. | |
| zapISipAddress | deserializeAddress (in ACString octets) |
| Deserialize an RFC3261 'name-addr' or 'addr-spec' into a zapISipAddress object. | |
| zapISipHeader | deserializeHeader (in ACString headerName, in ACString headerValue) |
| Deserialize the given headerName and headerValue into a zapISipHeader structure. | |
| void | deserializeRouteSet (in ACString octets, out unsigned long count,[array, retval, size_is(count)] out zapISipAddress routeset) |
| Deserialize a comma-separated list of RFC3261 'name-addr' into an array of zapISipAddress objects. | |
| zapISipRequest | createRequest () |
| Create a blank request object. | |
| zapISipResponse | createResponse () |
| Create a blank response object. | |
| zapISipAddress | createAddress (in AUTF8String displayName, in zapISipURI uri) |
| Create a zapISipAddress from the URI and display name. | |
| zapISipHeader | createHeader (in ACString name) |
| Create a generic header. | |
| zapISipToHeader | createToHeader (in zapISipAddress address) |
| Create a To header from the given address. | |
| zapISipFromHeader | createFromHeader (in zapISipAddress address) |
| Create a From header from the given address. | |
| zapISipRouteHeader | createRouteHeader (in zapISipAddress address) |
| Create a Route header from the given address. | |
| zapISipCallIDHeader | createCallIDHeader (in ACString callID) |
| Create a Call-ID header from the given callID. | |
| zapISipCSeqHeader | createCSeqHeader (in ACString method, in unsigned long sequenceNumber) |
| Create a CSeq header from the given method and sequenceNumber. | |
| zapISipMaxForwardsHeader | createMaxForwardsHeader () |
| Create a Max-Forwards header with default value (70). | |
| zapISipViaHeader | createViaHeader () |
| Create a Via header with protocol name and version set to SIP/2.0. | |
| zapISipContentTypeHeader | createContentTypeHeader (in ACString contentType, in ACString contentSubType) |
| Create a Content-Type header from the given type/subtype. | |
| zapISipContentLengthHeader | createContentLengthHeader (in unsigned long contentLength) |
| Create a Content-Length header with the given value. | |
| zapISipContactHeader | createContactHeader (in zapISipAddress address) |
| Create a Contact Header from the given address. | |
| zapISipRequireHeader | createRequireHeader (in ACString optionTag) |
| Create a Require header with the given value. | |
| zapISipRequireHeader | createUnsupportedHeader (in ACString optionTag) |
| Create an Unsupported header with the given value. | |
| zapISipAllowHeader | createAllowHeader (in ACString method) |
| Create an Allow header with the given value. | |
| ACString | getStandardReasonPhrase (in ACString statusCode) |
| Get the standard RFC3261 or RFC3265 reason phrase for the given status code. | |
|
||||||||||||
|
Create a zapISipAddress from the URI and display name.
|
|
|
Create an Allow header with the given value.
|
|
|
Create a Call-ID header from the given callID.
|
|
|
Create a Contact Header from the given address. The address object will not be cloned. |
|
|
Create a Content-Length header with the given value.
|
|
||||||||||||
|
Create a Content-Type header from the given type/subtype.
|
|
||||||||||||
|
Create a CSeq header from the given method and sequenceNumber.
|
|
|
Create a From header from the given address. The address object will not be cloned. |
|
|
Create a generic header. The returned value can be QIed to one of the zapISipHeader subclasses, as appropriate for the given header name. |
|
|
Create a Max-Forwards header with default value (70).
|
|
|
Create a blank request object.
|
|
|
Create a Require header with the given value.
|
|
|
Create a blank response object.
|
|
|
Create a Route header from the given address. The address object will not be cloned. |
|
|
Create a To header from the given address. The address object will not be cloned. |
|
|
Create an Unsupported header with the given value.
|
|
|
Create a Via header with protocol name and version set to SIP/2.0.
|
|
|
Deserialize an RFC3261 'name-addr' or 'addr-spec' into a zapISipAddress object.
|
|
||||||||||||
|
Deserialize the given headerName and headerValue into a zapISipHeader structure. The returned value can be QIed to one of the zapISipHeader subclasses, as appropriate for the given header name. |
|
|
Deserialize an RFC3261 'request' or 'response' into a zapISipRequest or zapISipResponse object.
|
|
||||||||||||||||
|
Deserialize a comma-separated list of RFC3261 'name-addr' into an array of zapISipAddress objects. The syntax parsed is that of a Route or Record-Route header value (or an empty string): '0*1(route-param *(COMMA route-param))' rr-params will be ignored. |
|
|
Deserialize an RFC3261 'SIP-URI', 'SIPS-URI' or 'absoluteURI'. Currently only 'SIP-URI' and 'SIPS-URI' parsing is implemented. The returned object will implement zapISipSIPURI. |
|
|
Get the standard RFC3261 or RFC3265 reason phrase for the given status code.
|
1.4.4