|
|
|
class RSyncMLTransport : public RSubSessionBase;
Handle to information about an available SyncML transport.
RSubSessionBase -
Client-side handle to a sub-session.
RSyncMLTransport - Handle to information about an available SyncML transport.
Defined in RSyncMLTransport:
Close()Closes this handle.DisplayName()constGets the human-readable display name of the transport referenced by this handle.Identifier()constGets the ID of the transport referenced by this handle.OpenL(RSyncMLSession &,TSmlTransportId)Opens a handle on the transport identified by aId.Properties()constGets a list of all properties supported by this transport.RSyncMLTransport()Default constructor.StartListeningL()constStarts listening for incoming connections on this transport.StopListeningL()constStops listening for incoming connections on this transport.SupportsCapability(TSmlTransportCap)constTests if the specified capability is supported.Inherited from RSubSessionBase:
CloseSubSession(TInt)Closes the sub-session.CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)Creates a new sub-session within an existing session. The new sub-session takes ...CreateSubSession(const RSessionBase &,TInt)Creates a new sub-session within an existing session.CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)Creates a new sub-session within an existing session.Send(TInt)constSends a blind message to the server - no reply is expected.Send(TInt,const TIpcArgs &)constSends a blind message to the server - no reply is expected.SendReceive(TInt)constSends a message to the server and waits synchronously for a reply.SendReceive(TInt,TRequestStatus &)constSends a message to the server and waits asynchronously for the reply.SendReceive(TInt,const TIpcArgs &)constSends a message to the server and waits synchronously for a reply.SendReceive(TInt,const TIpcArgs &,TRequestStatus &)constSends a message to the server and waits asynchronously for the reply.Session()constReturns a copy of the session associated with this sub-session.SubSessionHandle()constGets the sub-session handle number.IMPORT_C void OpenL(RSyncMLSession &, TSmlTransportId);
Opens a handle on the transport identified by aId.
|
|
IMPORT_C TSmlTransportId Identifier() const;
The handle is open.
Gets the ID of the transport referenced by this handle.
|
IMPORT_C const TDesC& DisplayName() const;
The handle is open.
Gets the human-readable display name of the transport referenced by this handle.
|
IMPORT_C TBool SupportsCapability(TSmlTransportCap) const;
The handle is open.
Tests if the specified capability is supported.
|
|
IMPORT_C const CSyncMLTransportPropertiesArray& Properties() const;
The handle is open.
Gets a list of all properties supported by this transport.
|
| Capability: | LocalServices |
IMPORT_C void StartListeningL() const;
The handle is open.
Starts listening for incoming connections on this transport.
The transport is listening for incoming connections.
|
| Capability: | LocalServices |
IMPORT_C void StopListeningL() const;
The handle is open.
The transport is listening for incoming connections.
Stops listening for incoming connections on this transport.
The transport is NOT listening for incoming connections.
|
IMPORT_C void Close();
Closes this handle.