private final class FiddlerImpl.DiscoveredEventTask extends Object implements Runnable
Task
object that is placed
in the TaskManager
queue for processing in the thread
pool. An instance of this class is placed on the task queue when a
DiscoveryEvent
instance indicating a discovered event
is received from the local discovery process.
The run
method of this class will process discovery
event information and determine to which active registrations the
appropriate RemoteDiscoveryEvent
should be sent; and
then sends that event.
Modifier and Type | Field and Description |
---|---|
DiscoveryEvent |
event
The local event sent by the discovery manager.
|
Constructor and Description |
---|
DiscoveredEventTask(DiscoveryEvent event)
Constructs an instance of this class and stores the event
|
Modifier and Type | Method and Description |
---|---|
void |
run()
This method processes the local discovery event information and
determines, based on the current state of each active
registration, to which such registration the appropriate
RemoteDiscoveryEvent should be sent. |
public final DiscoveryEvent event
public DiscoveredEventTask(DiscoveryEvent event)
public void run()
RemoteDiscoveryEvent
should be sent. After making
the determination, the remote event appropriate for each
registration is constructed and sent.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.