public void objectAvailable ( NodeObject object ) { // listen for lock and cache updates nodeobj = object ; nodeobj . addListener ( _listener = createListener ( ) ) ; _peermgr . connectedToPeer ( this ) ; String nodeName = getNodeName ( ) ; for ( ClientInfo clinfo : nodeobj . clients ) { _peermgr . clientLoggedOn ( nodeName , clinfo ) ; } for ( NodeObject . Lock lock : nodeobj . locks ) { _peermgr . peerAddedLock ( nodeName , lock ) ; } }
documentation inherited from interface Subscriber