com.sun.jini.fiddler
Class FiddlerImpl.LocsAddedToRegistrationLogObj

java.lang.Object
  extended by com.sun.jini.fiddler.FiddlerImpl.LocsAddedToRegistrationLogObj
All Implemented Interfaces:
FiddlerImpl.LogRecord, Serializable
Enclosing class:
FiddlerImpl

private static class FiddlerImpl.LocsAddedToRegistrationLogObj
extends Object
implements FiddlerImpl.LogRecord

LogObj class whose instances are recorded to the log file whenever the managed set of locators corresponding to a registration is is augmented with new elements.

See Also:
FiddlerImpl.LocalLogHandler

Field Summary
private  LookupLocator[] locators
          The set of locators added to the registration's managed set
private  Uuid registrationID
          The ID of the data structure record corresponding to the registration whose managed set of locators was augmented.
private static long serialVersionUID
           
 
Constructor Summary
FiddlerImpl.LocsAddedToRegistrationLogObj(Uuid registrationID, LookupLocator[] locators)
          Constructs this class and stores the ID and new set of locators
 
Method Summary
 void apply(FiddlerImpl fiddlerImpl)
          Modifies this service's state by adding the set of locators to registration's managed set of locators, as well as by updating the set of all locators (across all registrations) to discover.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

registrationID

private Uuid registrationID
The ID of the data structure record corresponding to the registration whose managed set of locators was augmented.


locators

private LookupLocator[] locators
The set of locators added to the registration's managed set

Constructor Detail

FiddlerImpl.LocsAddedToRegistrationLogObj

public FiddlerImpl.LocsAddedToRegistrationLogObj(Uuid registrationID,
                                                 LookupLocator[] locators)
Constructs this class and stores the ID and new set of locators

Method Detail

apply

public void apply(FiddlerImpl fiddlerImpl)
Modifies this service's state by adding the set of locators to registration's managed set of locators, as well as by updating the set of all locators (across all registrations) to discover.

Specified by:
apply in interface FiddlerImpl.LogRecord
See Also:
FiddlerImpl.LocalLogHandler.applyUpdate(java.lang.Object)


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.