Last change
on this file since 44 was
44,
checked in by stoda, 11 years ago
|
Objectmq converted to maven project
|
File size:
290 bytes
|
Rev | Line | |
---|
[44] | 1 | package calculatorTest; |
---|
| 2 | |
---|
| 3 | import omq.common.event.EventListener; |
---|
| 4 | |
---|
| 5 | public class ZeroListener extends EventListener<ZeroEvent> { |
---|
| 6 | |
---|
| 7 | public ZeroListener(String topic) { |
---|
| 8 | super(topic); |
---|
| 9 | } |
---|
| 10 | |
---|
| 11 | @Override |
---|
| 12 | public void notifyEvent(ZeroEvent event) { |
---|
| 13 | System.out.println(event.getZeroMessage()); |
---|
| 14 | } |
---|
| 15 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.