What is a BusName?

asked 2015-02-17 04:32:05 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am trying to understand the AllJoyn Framework, where I came across the terminology called BusName. There is a bit of confusion in me with this term. My understanding is that router implements a logical bus segment to which an application gets connected through a BusAttachment. Each of these bus connections have a unique name across the distributed bus, this unique is termed as BusName. or Each BusAttachment has its own bus over which it advertises the services and this bus is termed as BusName.

Can anybody help me in understanding the term?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-17 11:20:21 -0700

Nikhil Dabhade gravatar image

When a bus attachment connects to a routing node, for ease of understanding, it is extending the bus. This bus attachment represents a segment of the bus which is uniquely identified using a bus name. Say your bus attachment is a part of a client or a service application. Irrespective of what it is doing it has to join the routing node to be a part of the bus and be useful. When it does a connect to the routing node using BusAttachment.Connect() it is assigned a unique name by the routing node which looks like :abc.2 (just an example)

On top of this the application can request a well known name which is more readable and can be anything like org.allseen.mybusname using BusAttachment.RequestName() call. This means that from the routing node's perspective and for everyone else on the bus the application can be identified using a unique and a well known name. Unique name is not optional. It will be assigned by the routing node whereas a well known name is optional.

I hope that helps you better understand the concept of bus name. If not please let me know and I will try an elaborate it further


edit flag offensive delete publish link more


As you mentioned BusAttachment represents a segment of bus and joins the routing node to be a part of the bus. Does this mean routing node hosts a bus segment to which BusAttachments get connected to extend their segment of bus? Can you elaborate?

kamble4u ( 2015-02-18 02:57:15 -0700 )edit

You got it right. The routing node is the bus. By joining it the bus attachment is becoming a part of the bus thereby extending it.

Nikhil Dabhade ( 2015-02-18 11:33:22 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-02-17 04:32:05 -0700

Seen: 51 times

Last updated: Feb 17 '15