private final class FiddlerImpl.SetGroupsTask 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
a registration has requested the replacement of the set of groups
that currently will be discovered for it.Modifier and Type | Field and Description |
---|---|
String[] |
groups
The group set with which to replace the registration's old set
|
FiddlerImpl.RegistrationInfo |
regInfo
Data structure record of the registration that made the request
|
Constructor and Description |
---|
SetGroupsTask(FiddlerImpl.RegistrationInfo regInfo,
String[] groups)
Constructs an instance of this class and stores the input
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
private void |
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).
|
public final FiddlerImpl.RegistrationInfo regInfo
public final String[] groups
public SetGroupsTask(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
private void setRegInfoGroups(FiddlerImpl.RegistrationInfo regInfo, String[] groups)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.