fr.velossity.sample.device
Interface Device

All Known Implementing Classes:
MockDeviceImpl

public interface Device

Device interface for your OSGi platform.

Author:
C. Saint-Marcel

Field Summary
static String DEVICE_STATE_FUNCTIONAL
           
static String DEVICE_STATE_NOTFUNCTIONAL
           
 
Method Summary
 String getIdentifier()
           
 String getState()
           
 String getType()
           
 

Field Detail

DEVICE_STATE_FUNCTIONAL

static final String DEVICE_STATE_FUNCTIONAL
See Also:
Constant Field Values

DEVICE_STATE_NOTFUNCTIONAL

static final String DEVICE_STATE_NOTFUNCTIONAL
See Also:
Constant Field Values
Method Detail

getIdentifier

String getIdentifier()
Returns:
a unique identifier

getType

String getType()
Returns:
the device type, freely implemented

getState

String getState()
Returns:
the current type of the device


Copyright © 2011. All Rights Reserved.