[Ns-developers] Node names
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Fri May 16 10:10:34 PDT 2008
On Thu, 2008-05-15 at 20:48 +0100, Gustavo Carneiro wrote:
>
> Would you mind outline a rough use-case for this ? i.e., how
> would user
> scripts use it ? How would you use this for logging ?
>
> I think it's rather obvious how to use it,
> node->SetName("AccessPoint");
How does this mesh with the helper API and NodeContainer ? Do you expect
users to call container.Get (i)->SetName () ?
> Logging code could use node->GetName to get a user friendly node name.
Is this the only use-case ? At some point, you mentionned on irc
NodeList::GetNode (name). is this something you would still to add ?
What about NodeContainer::GetNode (name) ? What happens when multiple
nodes have the same name ?
regards,
Mathieu
More information about the Ns-developers
mailing list