1 package org.opentrafficsim.sim0mq.publisher;
2
3 import org.djutils.immutablecollections.ImmutableSet;
4 import org.opentrafficsim.core.network.Node;
5 import org.opentrafficsim.core.network.Network;
6
7
8
9
10
11
12
13
14
15
16
17
18 public class NodeIdTransceiver extends AbstractIdTransceiver
19 {
20
21
22
23
24 public NodeIdTransceiver(final Network network)
25 {
26 super(network, "Node id transceiver");
27 }
28
29
30 @Override
31 public String toString()
32 {
33 return "NodeIdTransceiver [network=" + ", super=" + super.toString() + "]";
34 }
35
36
37 @Override
38 ImmutableSet<Node> getSet()
39 {
40 return (ImmutableSet<Node>) getNetwork().getNodeMap().values();
41 }
42
43 }