com.buglabs.bug.base
Class BaseDisplay

java.lang.Object
  extended by com.buglabs.bug.base.BaseDisplay
All Implemented Interfaces:
IBaseDisplay

public class BaseDisplay
extends java.lang.Object
implements IBaseDisplay

This class interfaces BUG base unit LCD to OSGi service layer.


Constructor Summary
BaseDisplay()
           
 
Method Summary
protected  void dispose()
           
 IFramebufferDevice lock(java.lang.String clientId)
          A client must first lock the display before writing.
 void unlock(java.lang.String clientId)
          A client unlocks the display after use for other clients.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDisplay

public BaseDisplay()
Method Detail

dispose

protected void dispose()

lock

public IFramebufferDevice lock(java.lang.String clientId)
Description copied from interface: IBaseDisplay
A client must first lock the display before writing.

Specified by:
lock in interface IBaseDisplay
Returns:

unlock

public void unlock(java.lang.String clientId)
            throws InvalidClientException
Description copied from interface: IBaseDisplay
A client unlocks the display after use for other clients.

Specified by:
unlock in interface IBaseDisplay
Throws:
InvalidClientException