Location:
remconinterfaceselector.h
Link against: remconinterfacebase.lib
class CRemConInterfaceSelector : public CBase;
CRemConInterfaceSelector is only instantiable via its NewL function. It is not derivable.
CBase
- Base class for all classes to be instantiated on the heap
CRemConInterfaceSelector
- CRemConInterfaceSelector is only instantiable via its NewL function
Defined in CRemConInterfaceSelector
:
ConnectBearer()
, ConnectBearerCancel()
, ControllerOpened()
, DisconnectBearer()
, DisconnectBearerCancel()
, GetConnections()
, GoConnectionOrientedL()
, GoConnectionlessL()
, NewL()
, NotifyConnectionsChange()
, NotifyConnectionsChangeCancel()
, OpenControllerL()
, OpenTargetL()
, RegisterErrorObserver()
, Send()
, SendCancel()
, TargetOpened()
, ~CRemConInterfaceSelector()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CRemConInterfaceSelector *NewL();
Factory method.
|
IMPORT_C void RegisterErrorObserver(MRemConErrorObserver *aObserver);
Register an error observer. This is provided to allow the client to discover when an error has occurred passively.
|
IMPORT_C void OpenControllerL();
Opens a controller session to RemCon. The session is connectionless until such time as GoConnectionOriented may be called.
|
IMPORT_C void GoConnectionOrientedL(const TRemConAddress &aConnection);
Makes the controller session (which must already exist- use OpenControllerL) connection-oriented.
|
IMPORT_C void GoConnectionlessL();
Makes the controller session (which must already exist- use OpenControllerL) connectionless.
IMPORT_C void ConnectBearer(TRequestStatus &aStatus);
Brings up a bearer-level connection. The controller session must already exist (use OpenControllerL) and be connection-oriented.
|
IMPORT_C TInt ConnectBearerCancel();
Cancels interest in the completion of a ConnectBearer request.
|
IMPORT_C void DisconnectBearer(TRequestStatus &aStat);
Destroys a bearer-level connection. The controller session must already exist (use OpenControllerL) and be connection-oriented.
|
IMPORT_C TInt DisconnectBearerCancel();
Cancels interest in the completion of a DisconnectBearer request.
|
IMPORT_C void OpenTargetL();
Opens a target session to RemCon.
|
IMPORT_C void Send(TRequestStatus &aStatus, TUid aInterfaceUid, TUint aOperationId, TUint &aNumRemotes, TRemConMessageType
aMsgType, const TDesC8 &aData=KNullDesC8());
Sends a message to the remote device(s).
|
IMPORT_C TInt SendCancel(TRemConMessageType aMsgType);
Cancels interest in the completion of a Send request.
|
|
IMPORT_C TInt GetConnections(TSglQue< TRemConAddress > &aConnections);
Getter for the current set of connections in the system (not just those associated with this session). The client is responsible for cleaning up aConnections- the addresses will be on the heap.
|
|
IMPORT_C void NotifyConnectionsChange(TRequestStatus &aStatus);
Notification for changes in the set of connections.
|
IMPORT_C TInt NotifyConnectionsChangeCancel();
Cancels interest in the completion of an outstanding NotifyConnectionsChange operation.
|
IMPORT_C TBool TargetOpened() const;
To determine if a target session has been opened.
|
IMPORT_C TBool ControllerOpened() const;
To determine if a controller session has been opened.
|