Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

zapISipTransport Interface Reference
[ZAP SIP transport layer]

import "zapISipTransport.idl";

List of all members.


Detailed Description

API for the SIP transport layer (RFC 3261 section 18).

Implemented by component '@mozilla.org/zap/siptransport;1'


Public Member Functions

void init (in nsIPropertyBag2 transportConfiguration)
 Initialize this SIP transport object with the given configuration parameters.
void shutdown ()
void appendTransportSink (in zapISipTransportSink sink)
zapISipConnection sendRequest (in zapISipRequest request, in zapISipEndpoint endpoint, in zapISipConnection connection)
zapISipConnection sendResponse (in zapISipResponse response, in zapISipConnection connection)
zapISipFlow getFlow (in ACString localAddress, in unsigned short localPort, in ACString remoteAddress, in unsigned short remotePort, in ACString transportProtocol)

Public Attributes

attribute zapISipUAStack UAStack
 If this transport layer is part of a user agent stack, this attribute can be set to the stack instance.
readonly attribute zapISipTransceiver transceiver
readonly attribute unsigned
short 
listeningPort


Member Function Documentation

void zapISipTransport::appendTransportSink in zapISipTransportSink  sink  ) 
 

zapISipFlow zapISipTransport::getFlow in ACString  localAddress,
in unsigned short  localPort,
in ACString  remoteAddress,
in unsigned short  remotePort,
in ACString  transportProtocol
 

void zapISipTransport::init in nsIPropertyBag2  transportConfiguration  ) 
 

Initialize this SIP transport object with the given configuration parameters.

Valid configuration parameters: unsigned short "port_base" : port at which to listen for tcp and udp SIP traffic. If the port is not available, the next available port greater than port_base will be used instead. Default: 5060

zapISipConnection zapISipTransport::sendRequest in zapISipRequest  request,
in zapISipEndpoint  endpoint,
in zapISipConnection  connection
 

zapISipConnection zapISipTransport::sendResponse in zapISipResponse  response,
in zapISipConnection  connection
 

void zapISipTransport::shutdown  ) 
 


Member Data Documentation

readonly attribute unsigned short zapISipTransport::listeningPort
 

readonly attribute zapISipTransceiver zapISipTransport::transceiver
 

attribute zapISipUAStack zapISipTransport::UAStack
 

If this transport layer is part of a user agent stack, this attribute can be set to the stack instance.

The transport layer will then be able to use OPTIONS flow monitoring. See also zapISipFlow::OPTIONS_MONITOR.


The documentation for this interface was generated from the following file:
Generated on Fri Nov 21 12:00:06 2008 for Mozilla ZAP by  doxygen 1.4.4