When there is a switch connecting to the controller, a session would be created and an onSessionAdded() function would be called in SalRegistrationManager. (For MD-SAL openflowplugin and openflowjava development)
In onSessionAdded(), it will publish the NodeUpdated in the end. However, how does topology-manager or other listeners takeover this notification? How can I know how many listeners on the NodeUpdated and what are they?
In topology-manager, how does it create a node and store it into database after receiving this notification?
I hope I can get some details about the logic.