Latest Update: February 11, 2016.
Waza Application Programming Interface for Java
Updates
- alpha 6
-
- Fixed an issue where the Parallel construct could not throw exceptions that were raised in its child processes.
- Added a new
waza.io
package which extends thewaza
package with concurrency elements for system input/output. This package includesGPIOInputChannel
,GPIOOutputChannel
,GPIOTriggeredInputChannel
. See the javadoc documentation. - Updated the
EventObserver
. Call-channels and data-channels are clearer recognized.
- alpha 5
-
- Fixed a minor bug. This issue could cause the Choice to freeze.
- alpha 4
-
- Added new channel, guard and option constructors that support single services. These constructors simplify coding.
- Refactoring channel classes. The call-channel is now the default channel. The channel base classes are UnbufferedChannel and BufferedChannel.
- Some code improvements for better performance.
- alpha 3
-
- Improved performance of the channel.
- Alpha 2 reduced the dependency of garbadge collecting. In this update, the unbuffered channel does not require garbage collecting. This independency is required for developing real-time and emdedded applications. Only the buffered channel requires garbage collecting.
- A few classes are now invisible to the user. This makes the API simpler and smaller.
- alpha 2
-
- Added buffered call-channel and buffered data-channel.
- Improved performance of channel communication.
- Solved a race condition causing the Choice to select the wrong option.
- Change of
accept(InterfaceAccept.Sevices[] services, Interface instance)
toaccept(int[] services, Interface instance)
.
The newly addedInterfaceAccept.values()
is used to specify the services that are to be accepted by the call-channel. For example,chan.accept(new InterfaceAccept.Sevices[] {InterfaceAccept.Services.doThis, InterfaceAccept.Sevices.doThat}, Interface instance)
becomeschan.accept(InterfaceAccept.values(InterfaceAccept.Services.doThis, InterfaceAccept.Sevices.doThat), Interface instance)
. TheInterfaceAccept.values()
creates an integer array. Theint[] services
parameter which makes the channel internally a lot faster and the channel does not rely on garbadge collecting.