Patent ID: 8578013

Claim:
A method comprising: registering, by a first device and based on receiving a first registration request from a second device, an interest in a first interface associated with the first device; identifying, by the first device and based on registering the interest, a first relationship between the first interface and a second interface associated with the first device and a second relationship between the second device and the first interface, the first relationship identifying that the first interface is associated with an address that is associated with the second interface, the second interface being associated with a third device that maintains a pool of addresses, the pool of addresses including the address, and the first interface being associated with a fourth device that borrows the address from the third device; receiving, by the first device, a second registration request from the second device, the second registration request identifying a function to be called when the second device is notified of an occurrence of a first event that affects the first interface; modifying, by the first device, the second relationship based on the second registration request; detecting, by the first device, an occurrence of a second event associated with the second interface; notifying, by the first device, the second device of the occurrence of the second event based on the first relationship; and calling, by the first device, the function based on the second relationship when notifying the second device of the occurrence of the second event.