Uses of Class
com.sun.jini.fiddler.FiddlerImpl.RegistrationInfo

Packages that use FiddlerImpl.RegistrationInfo
com.sun.jini.fiddler Provides the server side of an implementation of the lookup discovery service (see LookupDiscoveryService). 
 

Uses of FiddlerImpl.RegistrationInfo in com.sun.jini.fiddler
 

Fields in com.sun.jini.fiddler declared as FiddlerImpl.RegistrationInfo
 FiddlerImpl.RegistrationInfo FiddlerImpl.NewRegistrationTask.regInfo
          The data structure record corresponding to the new registration
 FiddlerImpl.RegistrationInfo FiddlerImpl.DiscardRegistrarTask.regInfo
          Data structure record corresponding to the registration that has requested to have one of its discovered registrars discarded
 FiddlerImpl.RegistrationInfo FiddlerImpl.AddGroupsTask.regInfo
          Data structure record of the registration that made the request
 FiddlerImpl.RegistrationInfo FiddlerImpl.SetGroupsTask.regInfo
          Data structure record of the registration that made the request
 FiddlerImpl.RegistrationInfo FiddlerImpl.RemoveGroupsTask.regInfo
          Data structure record of the registration that made the request
 FiddlerImpl.RegistrationInfo FiddlerImpl.AddLocatorsTask.regInfo
          Data structure record of the registration that made the request
 FiddlerImpl.RegistrationInfo FiddlerImpl.SetLocatorsTask.regInfo
          Data structure record of the registration that made the request
 FiddlerImpl.RegistrationInfo FiddlerImpl.RemoveLocatorsTask.regInfo
          Data structure record of the registration that made the request
 FiddlerImpl.RegistrationInfo FiddlerImpl.SendEventTask.regInfo
          Data structure record corresponding to registration to get event
private  FiddlerImpl.RegistrationInfo FiddlerImpl.RegistrationGrantedLogObj.regInfo
          Object which acts as a record of the current registration with the lookup discovery service; containing all of the information about that registration: IDs, managed sets, lease information, and event registration information.
 

Methods in com.sun.jini.fiddler that return FiddlerImpl.RegistrationInfo
private  FiddlerImpl.RegistrationInfo FiddlerImpl.externalDiscardRequest()
          Examines the discardFlag for each active registration until a value of true is encountered or the set of registrations is exhausted.
 

Methods in com.sun.jini.fiddler with parameters of type FiddlerImpl.RegistrationInfo
private  void FiddlerImpl.addGroupsDo(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
          Called by the public method addGroups.
private  void FiddlerImpl.addLocatorsDo(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
          Called by the public method addLocators.
private  HashSet FiddlerImpl.AddGroupsTask.addRegInfoGroups(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
          Augments the registration's managed set of groups with the new groups.
private  HashSet FiddlerImpl.AddLocatorsTask.addRegInfoLocators(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
          Augments the registration's managed set of locators with the new locators.
private  void FiddlerImpl.addRegistration(FiddlerImpl.RegistrationInfo regInfo)
          Places the registration corresponding to the regInfo parameter in both the registrationByID map and the registrationByTime map.
private  RemoteDiscoveryEvent FiddlerImpl.buildEvent(FiddlerImpl.RegistrationInfo regInfo, Map groupsMap, boolean discarded)
          This method constructs the appropriate remote discovery event from the information contained in the input parameters.
private  void FiddlerImpl.cancelLeaseDo(FiddlerImpl.RegistrationInfo regInfo, Uuid leaseID)
          Called by the public method cancelLease.
private  HashMap FiddlerImpl.getDesiredRegsByGroup(FiddlerImpl.RegistrationInfo regInfo)
          This method returns a registrar-to-data-structure map in which each registrar key in the returned map is one of the keys from the the global map allDiscoveredRegs, and the corresponding value is the (locator,groups) pair that corresponds to that registrar key in allDiscoveredRegs An element of allDiscoveredRegs is selected to have its registrar and associated (locator,groups) pair be included in the returned mapping if and only if the key value of the element is a registrar that belongs to at least one of the desired groups of the given registration (regInfo parameter).
private  HashMap FiddlerImpl.getDesiredRegsByLocator(FiddlerImpl.RegistrationInfo regInfo)
          This method returns a registrar-to-data-structure map in which each registrar key in the returned map is one of the keys from the the global map allDiscoveredRegs, and the corresponding value is the (locator,groups) pair that corresponds to that registrar key in allDiscoveredRegs An element of allDiscoveredRegs is selected to have its registrar and associated (locator,groups) pair be included in the returned mapping if and only if the key value under consideration is a registrar whose locator equals one of the desired locators of the given registration (regInfo parameter).
private static HashMap FiddlerImpl.getUndesiredRegsByGroup(Map regMap, FiddlerImpl.RegistrationInfo regInfo)
          This method returns a mapping in which the key values are registrars, and the map values are the member groups of the corresponding registrar key.
private static Map FiddlerImpl.getUndesiredRegsByLocator(Map regMap, FiddlerImpl.RegistrationInfo regInfo)
          This method returns a subset of the given registrar-to-locators mapping (regMap).
private  HashSet FiddlerImpl.DiscardedEventTask.maybeSendDiscardedEvent(FiddlerImpl.RegistrationInfo regInfo, Map groupsMap, boolean active)
          This method determines, based on the current state of the regInfo parameter, whether or not to send a remote discarded event to the regInfo's listener, and then builds and sends the event if appropriate.
private  HashSet FiddlerImpl.ChangedEventTask.maybeSendDiscardedEvent(FiddlerImpl.RegistrationInfo regInfo, Map groupsMap, Map locatorMap)
          This method determines, based on the current state of the regInfo parameter, whether or not to send a remote discarded event to the regInfo's listener, and then builds and sends the event if appropriate.
private  void FiddlerImpl.maybeSendDiscoveredEvent(FiddlerImpl.RegistrationInfo regInfo, Map regsMap)
          This method determines which of the registrars in the regsMap parameter belong to the set of registrars the given regInfo parameter wishes to discover.
private  void FiddlerImpl.queueEvent(FiddlerImpl.RegistrationInfo regInfo, RemoteDiscoveryEvent event)
          This method simply queues a new SendEventTask instance that will send the given remote event to the given registration's listener.
private  void FiddlerImpl.removeGroupsDo(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
          Called by the public method removeGroups.
private  void FiddlerImpl.removeLocatorsDo(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
          Called by the public method removeLocators.
private  void FiddlerImpl.RemoveGroupsTask.removeRegInfoGroups(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
          Removes the elements of the given set from the given registration's current set of groups to discover.
private  void FiddlerImpl.RemoveLocatorsTask.removeRegInfoLocators(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
          Removes the elements of the given set from the given registration's current set of locators to discover.
private  void FiddlerImpl.removeRegistration(FiddlerImpl.RegistrationInfo regInfo)
          Removes the registration corresponding to the regInfo parameter from this service's state.
private  void FiddlerImpl.renewLeaseAbs(FiddlerImpl.RegistrationInfo regInfo, Uuid leaseID, long expiration)
          This method performs the final steps in the process of renewing the lease on the registration corresponding to the regInfo and leaseID parameters, granting a requested absolute expiration time for that lease.
private  long FiddlerImpl.renewLeaseDo(FiddlerImpl.RegistrationInfo regInfo, Uuid leaseID, long duration)
          Called by the public method renewLease.
private  long FiddlerImpl.renewLeaseInt(FiddlerImpl.RegistrationInfo regInfo, Uuid leaseID, long duration, long curTime)
          Called by the method renewLeaseDo.
private  void FiddlerImpl.setGroupsDo(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
          Called by the public method setGroups.
private  void FiddlerImpl.setLocatorsDo(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
          Called by the public method setLocators.
private  void FiddlerImpl.SetGroupsTask.setRegInfoGroups(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
          Replaces the registration's managed set of groups with the new groups (even if the new set of groups is empty -- this just means group discovery will be "turned off" for this registration).
private  void FiddlerImpl.SetLocatorsTask.setRegInfoLocators(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
          Replaces the registration's managed set of locators with the new locators (even if the new set of locators is empty -- this just means locator discovery will be "turned off" for this registration)
 

Constructors in com.sun.jini.fiddler with parameters of type FiddlerImpl.RegistrationInfo
FiddlerImpl.AddGroupsTask(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
          Constructs an instance of this class and stores the input
FiddlerImpl.AddLocatorsTask(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
          Constructs an instance of this class and stores the input
FiddlerImpl.DiscardRegistrarTask(FiddlerImpl.RegistrationInfo regInfo, ServiceRegistrar registrar)
          Constructs an instance of this class and stores the registration information.
FiddlerImpl.NewRegistrationTask(FiddlerImpl.RegistrationInfo regInfo)
          Constructs an instance of this class and stores the registration information.
FiddlerImpl.RegistrationGrantedLogObj(FiddlerImpl.RegistrationInfo regInfo)
          Constructs this class and stores the registration information
FiddlerImpl.RemoveGroupsTask(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
          Constructs an instance of this class and stores the input
FiddlerImpl.RemoveLocatorsTask(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
          Constructs an instance of this class and stores the input
FiddlerImpl.SendEventTask(FiddlerImpl.RegistrationInfo regInfo, RemoteDiscoveryEvent event)
          Constructs an instance of this class and stores the registration information.
FiddlerImpl.SetGroupsTask(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
          Constructs an instance of this class and stores the input
FiddlerImpl.SetLocatorsTask(FiddlerImpl.RegistrationInfo regInfo, LookupLocator[] locators)
          Constructs an instance of this class and stores the input
 



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