public class NetworkDiscoveryConfiguration
extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_RETRIES |
static int |
MAX_TIMEOUT |
static int |
MIN_RETRIES |
static int |
MIN_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
static DiscoveryConfiguration |
getParameters()
Returns the current network discovery configuration parameters.
|
static void |
restoreDefaultParameters()
Restores the network card printer discovery parameters to their default values.
|
static void |
setParameters(DiscoveryConfiguration discoveryConfiguration)
Sets the network discovery configuration parameters.
|
public static final int MIN_RETRIES
public static final int MAX_RETRIES
public static final int MIN_TIMEOUT
public static final int MAX_TIMEOUT
public static DiscoveryConfiguration getParameters()
public static void setParameters(DiscoveryConfiguration discoveryConfiguration) throws IllegalArgumentException
discoveryConfiguration
- the network discovery configuration parameters.IllegalArgumentException
- if discovery retries or timeout are not within their valid ranges.public static void restoreDefaultParameters()
© 2016 ZIH Corp. All Rights Reserved.