MSIPTransportMgr Class Reference

class MSIPTransportMgr

An interface for allocationg and deallocating transport resources for IPSec SAs and TLS.

N/A

Member Functions Documentation

CreateTLSTransportL(TSIPTransportParams &)

void CreateTLSTransportL ( TSIPTransportParams & aTransportParams ) [pure virtual]

Pre-allocates a TLS transport. The actual destination address is known when the first SIP request is sent using this transport and the TLS connection establishment is delayed until that.

Parameters

TSIPTransportParams & aTransportParams on return contains the id of the pre-allocated transport resources

GetLocalAddress(TUint32, TInetAddr &)

TInt GetLocalAddress ( TUint32 aIapId,
TInetAddr & aAddr
) [pure virtual]

Retrieves local address of spesified IAP

Parameters

TUint32 aIapId id of accesspoint which local address is retrieved
TInetAddr & aAddr on return will contain retrieved local address

RemoveTransport(TUint32)

void RemoveTransport ( TUint32 aTransportId ) [pure virtual]

Deallocates resources reserved for the transport.

Parameters

TUint32 aTransportId identifies the transport

RemoveTransport(TUint32, MSIPTransportRemovalObserver *)

TInt RemoveTransport ( TUint32 aTransportId,
MSIPTransportRemovalObserver * aRemovalObserver
) [pure virtual]

Deallocates resources reserved for the transport. If return value is more than zero and observer is provided, the caller must wait asynchronous completion of removal. Completion callback of removal observer interface is called as many times as there is asynchronous removal operations.

Parameters

TUint32 aTransportId identifies the transport
MSIPTransportRemovalObserver * aRemovalObserver interface for asynchronous removal completion callbacks; may be NULL if caller is not interested about removal completion

ReserveTransportL(TSIPTransportParams &, TUint, TUint, const TInetAddr &, TUint)

void ReserveTransportL ( TSIPTransportParams & aTransportParams,
TUint aLocalSendPort,
TUint aLocalReceivePort,
const TInetAddr & aRemoteAddr,
TUint aRemoteSendPort
) [pure virtual]

Reserves UPD and TCP transports with the given parameters.

Parameters

TSIPTransportParams & aTransportParams on return contains the id of the reserved transport
TUint aLocalSendPort local port used for sending
TUint aLocalReceivePort local port listened on UDP and TCP
const TInetAddr & aRemoteAddr remote address
TUint aRemoteSendPort remote port where messages are expected from.