SophiaFramework UNIVERSE 5.3 |
#include <SFBQoSSession.h.hpp>
class SFBQoSSession : public SFBModel;
SFMTYPEDEFWRAPPER(SFBQoSSession)
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
SFCError |
AddRetryCB(
SFXCallbackPtr callback
) Prepare for receiving the notify to call the SFBQoSSession::Open function again.
|
SFCError |
Close( Void ) Issues a request for closing a QoS Session.
|
SFCError |
GetErrorSpec(
SFBQoSErrorSpecSmpPtr error
) Get the SFBQoSErrorSpec for client to recognize the invalid option of requested QoS Spec.
|
SFBQoSErrorSpecSmp |
GetErrorSpec( Void ) Get the SFBQoSErrorSpec for client to recognize the invalid option of requested QoS Spec.
|
SFCError |
GetFlowSpec(
SFBQoSFlowSmpPtr rxFlow
, SFBQoSFlowSmpPtr txFlow
) Return the current Rx and Tx Flow Specs.
|
SFCError |
GetGrantedFlowSpecDuringAnyState(
SFBQoSFlowSmpPtr rxFlow
, SFBQoSFlowSmpPtr txFlow
) Return the current Rx and Tx Flow Specs.
|
AEEQoSStatus |
GetStatus( Void ) Returns the status of the QoS link.
|
SFCError |
GoActive( Void ) This function is used in order to activate the QoS link (from dormant mode).
|
SFCError |
Modify(
SFBQoSSpecSmpConstRef qos
) Issues a request for modifying an existing QoS Session.
|
SFCError |
ModifyEx(
SFBQoSSpecSmpConstRef qos
, AEEQoSModifyExMask mask
) Issue the modification requests.
|
static SFBQoSSessionSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBQoSSession instance.
|
static SFBQoSSessionSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBQoSSession instance.
|
SFCError |
Open(
SFBQoSSpecSmpConstRef qos
) Issues a request for establishing a new QoS Session.
|
SFCError |
SelectNetwork(
SInt32 network
) Select a specific data network for this QoS Session.
|
SFCError |
SetDormancyTimeout(
UInt08 seconds
) Set the IS-707 (cdma2000 1x) packet data dormancy timeout for the QoS link.
|
SFCError |
AddListener(
ModelListener* listener
)
(inherits from SFBModel)
Allow objects such as widgets and UI controls to attach a listener to the given model.
|
SFCError |
AddListenerEx(
ModelListener* listener
, PFNLISTENER notify
, VoidPtr data
)
(inherits from SFBModel)
Initialize the fields of a ModelListener, and register the listener with the model.
|
SFCError |
Notify(
ModelListener* listener
)
(inherits from SFBModel)
send a notify event to all listeners that are currently installed on the model.
The notification will be sent to the function specified by the pfnListener member of the ModelListener data structure passed to SFBModel:AddListener().
|
SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFCError AddRetryCB( SFXCallbackPtr callback // callback of client );
[ public ] SFCError Close(Void);
[ public ] SFCError GetErrorSpec( SFBQoSErrorSpecSmpPtr error // current Error Spec );
[ public ] SFBQoSErrorSpecSmp GetErrorSpec(Void);
[ public ] SFCError GetFlowSpec( SFBQoSFlowSmpPtr rxFlow // current Rx Flow Spec; can be null, if the caller is not interested in SFBQoSFlowSmpPtr txFlow // current Tx Flow Spec; can be null, if the caller is not interested in );
BREW API IQOSSESSION_GetFlowSpec | SFBQoSFlow | SFBQoSSession::Open
[ public ] SFCError GetGrantedFlowSpecDuringAnyState( SFBQoSFlowSmpPtr rxFlow // current Rx Flow Spec; can be null, if the caller is not interested in SFBQoSFlowSmpPtr txFlow // current Tx Flow Spec; can be null, if the caller is not interested in );
Introduced BREW Client 3.1.5 SP01
[ public ] AEEQoSStatus GetStatus(Void);
[ public ] SFCError GoActive(Void);
[ public ] SFCError Modify( SFBQoSSpecSmpConstRef qos // the new QoS specification to apply to the QoS session );
[ public ] SFCError ModifyEx( SFBQoSSpecSmpConstRef qos // the QoS specification used for modifying AEEQoSModifyExMask mask // bit mask which indicates the QoS specification blocks to be modified );
Introduced BREW Client 3.1.5 SP01
[ public, static ] SFBQoSSessionSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBQoSSessionSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError Open( SFBQoSSpecSmpConstRef qos // the desired QoS specification for the new session );
BREW API IQOSSESSION_Open | SFBQoSSession::AddRetryCB | SFBQoSSession::Close | SFBModel::AddListener | SFBQoSSession::SelectNetwork | SFBQoSSession::GetErrorSpec
[ public ] SFCError SelectNetwork( SInt32 network // the network for this QoS Session. one of AEE_NETWORK_* constants );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |