Interface for context service More...

Inheritance diagram for IContext:

Public Member Functions

IEnumerable< IContextDeviceGetDevices ()
 Get list of context devices More...
 
IMemoryValuesDto GetMemoryValues (IContextDevice device, uint position, uint length)
 Get memory values More...
 
void SetMemoryValues (IContextDevice device, uint position, string data)
 Set memory values More...
 
void SetMemoryValues (IContextDevice device, uint position, byte[] data)
 Set memory values More...
 
string GetMemoryType (IContextDevice device)
 Get memory type More...
 
uint GetContextSize (IContextDevice device)
 Get context size More...
 
IMemoryValuesDto DumpContext (IContextDevice device)
 Dump all memory data More...
 

Additional Inherited Members

- Events inherited from IContextNotifier
EventHandler< DeviceListEventDeviceListEventRaised
 Event raised when context devices list changes More...
 

Detailed Description

Member Function Documentation

IMemoryValuesDto DumpContext ( IContextDevice  device)
Parameters
deviceDevice
Exceptions
NotAvailableException (DPY_NOT_FOUND)Thrown when service don't respond in time
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
uint GetContextSize ( IContextDevice  device)
Parameters
deviceDevice
Exceptions
NotAvailableException (DPY_NOT_FOUND)Thrown when service don't respond in time
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
IEnumerable<IContextDevice> GetDevices ( )
Exceptions
NotAvailableException (DPY_NOT_FOUND)Thrown when service don't respond in time
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
string GetMemoryType ( IContextDevice  device)
Parameters
deviceDevice
Exceptions
NotAvailableException (DPY_NOT_FOUND)Thrown when service don't respond in time
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
IMemoryValuesDto GetMemoryValues ( IContextDevice  device,
uint  position,
uint  length 
)
Parameters
deviceDevice
positionMemory start position
lengthMemory length
Exceptions
NotAvailableException (DPY_NOT_FOUND)Thrown when service don't respond in time
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
void SetMemoryValues ( IContextDevice  device,
uint  position,
string  data 
)
Parameters
deviceDevice
positionMemory start position
dataData to be stored
Exceptions
NotAvailableException (DPY_NOT_FOUND)Thrown when service don't respond in time
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
void SetMemoryValues ( IContextDevice  device,
uint  position,
byte[]  data 
)
Parameters
deviceDevice
positionMemory start position
dataData to be stored
Exceptions
NotAvailableException (DPY_NOT_FOUND)Thrown when service don't respond in time
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error