Routelogic and rtObject are two objects that are significant to unicast routing in ns. Routelogic, essentially, represents the routing table that is created and maintained centrally for every unicast simulation. rtObject is the object that every node taking part in dynamic unicast routing, has an instance of. Note that nodes will not have an instance of this object if Session routing is done as a detailed routing protocol is not being simulated in this case. The methods for RouteLogic and rtObject are described in the next section.