[RESOLVED] pushEvent does not work (?)
|
|
---|---|
Hi Tangoers, I bump into an annoying bug – looks like push events from a server code does not work. Here is my Java server:
When a client subscribes to the "register15"'s change event it gets no values. Quick investigation showed that EventManager is not initialized. If look into EventManager#pushAttributeEvent:
and in EventManager#getEventImpl:
even though I deliberately call EventManager#initialize using reflection then it still fails, as eventImplMap does not contain anything. eventImplMap is only updated in getConnectionParamateres which in turn is only called from AdminDevice. So the question is – how to make push event mechanism to work? NOTE: pushInterfaceChangeEvent does not work neither (called after device's @Init method in DeviceImpl#doInit) Thank you in advance. Igor P.S. JTangoServer-9.0.3, Tango 8 (Debian 7) |
|
|
---|---|
UPDATE Finally got it! Just forgot to add checkChangeEvent = false to the @Attribute annotation:
|