import "zapISipMessage.idl";
Inheritance diagram for zapISipMessage:

Public Member Functions | |
| AUTF8String | headerNameAt (in unsigned long i) |
| Returns the canonical header name for the header at position 'i'. | |
| zapISipHeader | headerAt (in unsigned long i) |
| void | appendHeader (in zapISipHeader header) |
| void | insertHeaderBefore (in zapISipHeader header, in unsigned long i) |
| void | removeHeaderAt (in unsigned long i) |
| void | removeHeader (in zapISipHeader header) |
| void | getHeaders (in ACString name, out unsigned long count,[retval, array, size_is(count)] out zapISipHeader headers) |
| Helper to get a (possibly empty) list of all headers with the given name. | |
| void | getHeaderIndices (in ACString name, out unsigned long count,[retval, array, size_is(count)] out unsigned long indices) |
| Helper to get the indices of all headers with the given name. | |
| void | removeHeaders (in ACString name) |
| Helper to remove all headers with the given name. | |
| zapISipHeader | getTopHeader (in ACString name) |
| Helper to get the top-most header with the given name. | |
| zapISipHeader | getSingleHeader (in ACString name) |
| Helper to get a single header of the given name Throws an error if there are multiple headers with the given name. | |
| zapISipViaHeader | getTopViaHeader () |
| Helper to get the top-most Via header. | |
| zapISipRouteHeader | getTopRouteHeader () |
| Helper to get the top-most Route header. | |
| zapISipContactHeader | getTopContactHeader () |
| Helper to get the top-most Contact header. | |
| zapISipCallIDHeader | getCallIDHeader () |
| Helper to get the Call-ID header. | |
| zapISipToHeader | getToHeader () |
| Helper to get the To header. | |
| zapISipFromHeader | getFromHeader () |
| Helper to get the From header. | |
| zapISipCSeqHeader | getCSeqHeader () |
| Helper to get the CSeq header. | |
| void | setContent (in ACString contentType, in ACString contentSubType, in ACString bodyContent) |
| Helper to set Content-Type, Content-Length and body content . | |
| void | ensureContentLengthHeader () |
| Add a Content-Length header if there isn't one already. | |
Public Attributes | |
| attribute boolean | isRequest |
| true if this message is a request (and implements zapISipRequest) false if this message is a response (and implements zapISipResponse) | |
| attribute ACString | version |
| readonly attribute unsigned long | headerCount |
| attribute ACString | body |
|
|
|
|
|
Add a Content-Length header if there isn't one already. This is called by SipTransport::sendRequest() and SipTransport::sendResponse() to ensure that outgoing SIP messages are correctly framed for delivery over TCP. |
|
|
Helper to get the Call-ID header. Throws an error if there are multiple Call-ID headers, null if there is none. |
|
|
Helper to get the CSeq header. Throws an error if there are multiple CSeq headers, null if there is none. |
|
|
Helper to get the From header. Throws an error if there are multiple From headers, null if there is none. |
|
||||||||||||||||
|
Helper to get the indices of all headers with the given name. The list will be sorted with the top-most matching header coming first (low->high indices) |
|
||||||||||||||||
|
Helper to get a (possibly empty) list of all headers with the given name. The list will be sorted with the top-most matching header coming first. |
|
|
Helper to get a single header of the given name Throws an error if there are multiple headers with the given name.
|
|
|
Helper to get the To header. Throws an error if there are multiple To headers, null if there is none. |
|
|
Helper to get the top-most Contact header.
|
|
|
Helper to get the top-most header with the given name. Returns null if no matching header can be found. |
|
|
Helper to get the top-most Route header.
|
|
|
Helper to get the top-most Via header.
|
|
|
|
|
|
Returns the canonical header name for the header at position 'i'. Short header names defined in RFC3261 will be expanded into their long equivalents. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Helper to remove all headers with the given name.
|
|
||||||||||||||||
|
Helper to set Content-Type, Content-Length and body content .
|
|
|
|
|
|
|
|
|
true if this message is a request (and implements zapISipRequest) false if this message is a response (and implements zapISipResponse)
|
|
|
|
1.4.4