private final class FiddlerImpl.NewRegistrationTask extends Object implements Runnable
Task
object that is placed
in the TaskManager
queue for processing in the thread
pool. Instances of this class are placed on the task queue when
registrations are granted.
The run
method of this class will determine if any of
the new registration's desired lookup service(s) have already been
discovered, and will send the appropriate remote discovery event to
the registration's listener.
Modifier and Type | Field and Description |
---|---|
FiddlerImpl.RegistrationInfo |
regInfo
The data structure record corresponding to the new registration
|
Constructor and Description |
---|
NewRegistrationTask(FiddlerImpl.RegistrationInfo regInfo)
Constructs an instance of this class and stores the registration
information.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
This method processes the information associated with the new
registration and determines, based on the current state of the
set of 'already-discovered' lookup service(s), whether to send
a
RemoteDiscoveryEvent to the new registration's
listener. |
public final FiddlerImpl.RegistrationInfo regInfo
public NewRegistrationTask(FiddlerImpl.RegistrationInfo regInfo)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.