0

registerSignalHandlers() returns BUS_NO_SUCH_INTERFACE

asked 2015-01-11 14:23:18 -0800

papakorn gravatar image

Hi there,

I'm trying to use Signal to send data from my Service to multiple Clients. When I do registerSignalHandlers i get the BUS_NO_SUCH_INTERFACE error ... I've already seen the same subject here ( https://ask.allseenalliance.org/question/1096/problem-with-registersignalhandlers/ ) but it isn't due to that, because I registered my BusObject from my Service before I call the method from Client side (and I can use my BusMethods with BusObjectProxy without any problem) ...

Any idea ?

Regards, François

edit retag flag offensive close merge delete

Comments

François are you using Java language or C++? Have the clients already formed a session with the service? Signals typically are sent between devices already in a session.

georgen ( 2015-01-12 13:47:23 -0800 )edit

Hi papakorn, Could you check if the signal name and the interface that it belongs to is the same as the one you used when you registered the bus object ? All check if you added the signal member to the interface definition

Nikhil Dabhade ( 2015-01-12 13:48:25 -0800 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2015-06-02 02:53:04 -0800

julianbros gravatar image

In my case it was caused by different instances of the BusAttachment. I've wrote a dedicated class for attaching the bus, but had no reference to my original call statement. When I attached the signalHandler, I didn't mention that this happened to the wrong bus instance.

May you could provide the source code?

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-01-11 14:23:18 -0800

Seen: 145 times

Last updated: Jun 02 '15