0

How do I know Sender's UniqueName?

asked 2014-04-09 02:04:55 -0700

wanglingdeemo gravatar image

As a session signal/methodcall reciever, how do a BusObject know what the sender's UniqueName is?

I think it is significant to get a sender's UniqueName.

I've search the API, and found that

typedef void(MessageReceiver::*     SignalHandler )(const InterfaceDescription::Member *member, const char *srcPath, Message &message)

,but the InterfaceDescription does not have a UniqueName of sender.

Maybe I've passed some details, please tell me your advice.

THX!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-09 09:30:14 -0700

message->GetSender() is what you're looking for.

edit flag offensive delete publish link more

Comments

It's helpful! Thank you!

wanglingdeemo ( 2014-04-09 19:00:15 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-04-09 02:04:55 -0700

Seen: 95 times

Last updated: Apr 09 '14