public class Bandwidth extends Object
| Constructor and Description |
|---|
Bandwidth(HttpClient httpClient,
String path,
com.google.gson.JsonElement json) |
| Modifier and Type | Method and Description |
|---|---|
Bandwidth |
disable() |
Bandwidth |
enable() |
long |
getRate() |
boolean |
isEnabled() |
Bandwidth |
setRate(long rate) |
public Bandwidth(HttpClient httpClient, String path, com.google.gson.JsonElement json)
public boolean isEnabled()
public long getRate()
public Bandwidth enable() throws IOException
IOExceptionpublic Bandwidth disable() throws IOException
IOExceptionpublic Bandwidth setRate(long rate) throws IOException
IOExceptionCopyright © 2016. All rights reserved.