|
||
class RSyncMLConnection : public RSubSessionBase;
Handle to data defining a connection to a remote SyncML
server in the context of a profile.
RSubSessionBase
-
Client-side handle to a sub-session.
RSyncMLConnection
- Handle to data defining a connection to a remote SyncML server in the context of...
Defined in RSyncMLConnection
:
Close()
Closes this handle.CreateL(RSyncMLProfileBase &,TSmlTransportId)
Creates a new, blank, connection in the specified profile and opens this object ...GetPropertyL(const TDesC8 &)const
Gets the value of the transport property specified.Identifier()const
Gets the ID of the connection referenced by this handle.IsReadOnly()const
Tests if the parent profile is open for read and write access.OpenL(RSyncMLProfileBase &,TSmlConnectionId)
Opens a handle to an existing connection of the specified ID within the specifie...Priority()const
Gets the relative priority of this connection within the profile.Profile()const
Gets the ID of the parent profile of this connection.RSyncMLConnection()
Default constructor.RetryCount()const
Gets the retry count to use with the transport connection that this handle repre...ServerURI()const
Gets the URI of the server for the transport connection that this handle represe...SetPriority(TUint)
Sets the relative priority of this connection within the profile.SetPropertyL(const TDesC8 &,const TDesC8 &)
Sets the value of a transport property to use with this connection.SetRetryCount(TUint)
Sets the retry count for this connection..SetServerURIL(const TDesC8 &)
Sets the server URI to use with this connection.UpdateL()
Transfers any changes made to the connection data to the Sync Agent.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)const
Sends a blind message to the server - no reply is expected.Send(TInt,const TIpcArgs &)const
Sends a blind message to the server - no reply is expected.SendReceive(TInt)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.SendReceive(TInt,const TIpcArgs &)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.Session()const
Returns a copy of the session associated with this sub-session.SubSessionHandle()const
Gets the sub-session handle number.IMPORT_C void CreateL(RSyncMLProfileBase &, TSmlTransportId);
Creates a new, blank, connection in the specified profile and opens this object as a handle to it.
The parent profile must be open for read/write access. The new connection is not saved until RSyncMLProfile::UpdateL() is called on the parent profile.
|
|
IMPORT_C void OpenL(RSyncMLProfileBase &, TSmlConnectionId);
Opens a handle to an existing connection of the specified ID within the specified profile.
The access mode (read or read/write) is inherited from the parent profile.
|
|
IMPORT_C TSmlConnectionId Identifier() const;
The handle is open.
Gets the ID of the connection referenced by this handle.
|
IMPORT_C TSmlProfileId Profile() const;
The handle is open.
Gets the ID of the parent profile of this connection.
|
IMPORT_C TUint Priority() const;
The handle is open.
Gets the relative priority of this connection within the profile.
|
IMPORT_C TUint RetryCount() const;
The handle is open.
Gets the retry count to use with the transport connection that this handle represents.
|
IMPORT_C const TDesC8& ServerURI() const;
The handle is open.
Gets the URI of the server for the transport connection that this handle represents.
|
IMPORT_C const TDesC8& GetPropertyL(const TDesC8 &aName) const;
The handle is open.
Gets the value of the transport property specified.
|
|
|
IMPORT_C void SetPriority(TUint);
The handle is open.
Sets the relative priority of this connection within the profile.
This is used to determine the default connection for the profile.
|
|
IMPORT_C void SetRetryCount(TUint);
The handle is open.
Sets the retry count for this connection..
|
|
IMPORT_C void SetServerURIL(const TDesC8 &);
The handle is open.
Sets the server URI to use with this connection.
|
|
IMPORT_C void SetPropertyL(const TDesC8 &aName, const TDesC8 &aValue);
The handle is open.
Sets the value of a transport property to use with this connection.
|
|
IMPORT_C TBool IsReadOnly() const;
The handle is open.
Tests if the parent profile is open for read and write access.
|
IMPORT_C void UpdateL();
The handle is open for read and write access.
Transfers any changes made to the connection data to the Sync Agent.
The new data will be persisted when RSyncMLProfile::UpdateL() is called on the parent profile.
|
IMPORT_C void Close();
Closes this handle.