API specifications of NAB framework June 21, 2006 |
Contents
![]() ![]() |
Chapter 5 NAB Framework API Reference |
INtkContext defines the interface used to manage each NTK status in NAB Framework.
An instance of the implementation class of this interface is set in NtkManager, and it operates under the control of NtkManager.
Implementation example: MwtContext
Method name |
Outline |
int lock() |
Enables calling from SWT by locking an NTK thread when calling the NTK. Processing to stop the NTK main loop and to stop an NTK thread to prevent contention is described in the implementation class. |
int unlock() |
Unlocks a locked NTK thread to start an NTK operation when calling the NTK. Processing to release the NTK main loop stopped by the lock() interface to prevent contention is described in the implementation class. |
int execEventProc(String procName) |
Issues an NTK event. Processing to generate an event corresponding to a defined character string for an NTK is described in the implementation class. |
Contents
![]() ![]() |