examples.carcontrol
Interface LockService

All Known Implementing Classes:
LockServiceImpl

public interface LockService

This service provides control and status of the centralised door locking


Field Summary
static String PUBLISH_KEY
          The path in the environment where the LockAgent expects this service to be published.
 
Method Summary
 boolean isLocked()
          Requests status of centralised door locking system.
 void lock()
          Unlocks centralised door locking
 void unlock()
          Locks centralised door locking
 

Field Detail

PUBLISH_KEY

public static final String PUBLISH_KEY
The path in the environment where the LockAgent expects this service to be published.

Value: /local/public/car/lock

See Also:
Constant Field Values
Method Detail

lock

public void lock()
Unlocks centralised door locking


unlock

public void unlock()
Locks centralised door locking


isLocked

public boolean isLocked()
Requests status of centralised door locking system.

Returns:
true if centralised door locking is locked


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.