public class GridFTPBandwidth extends Object
Modifier and Type | Field and Description |
---|---|
private String |
avg_bandwidth |
private String |
avg_bandwidth_range1 |
private String |
avg_bandwidth_range2 |
private String |
avg_bandwidth_range3 |
private String |
avg_bandwidth_range4 |
static int |
AVG_BW |
static int |
AVG_BW_RANGE1 |
static int |
AVG_BW_RANGE2 |
static int |
AVG_BW_RANGE3 |
static int |
AVG_BW_RANGE4 |
static int |
DEST_ID |
private String |
dest_subnet_id |
static String[] |
GRIDFTPBANDWIDTHINFO |
private String |
max_bandwidth |
static int |
MAX_BW |
private String |
min_bandwidth |
static int |
MIN_BW |
Constructor and Description |
---|
GridFTPBandwidth() |
Modifier and Type | Method and Description |
---|---|
String |
getInfo(int gridftpbwkey)
This method gets the info about gridftpbw based on the gridftpbwkey
|
void |
setInfo(int gridftpbwkey,
String gridftpbwvalue)
This method sets the info about gridftpbw based on the gridftpbwkey
|
String |
toString() |
String |
toXML()
Returns the XML description of the contents of Gridftp object.
|
private String dest_subnet_id
private String avg_bandwidth_range1
private String avg_bandwidth_range2
private String avg_bandwidth_range3
private String avg_bandwidth_range4
private String avg_bandwidth
private String max_bandwidth
private String min_bandwidth
public static final String[] GRIDFTPBANDWIDTHINFO
public static final int DEST_ID
public static final int AVG_BW_RANGE1
public static final int AVG_BW_RANGE2
public static final int AVG_BW_RANGE3
public static final int AVG_BW_RANGE4
public static final int AVG_BW
public static final int MAX_BW
public static final int MIN_BW
public void setInfo(int gridftpbwkey, String gridftpbwvalue) throws Exception
gridftpbwkey
- the key for indicating the informationgridftpbwvalue
- is the informationException
public String getInfo(int gridftpbwkey) throws Exception
gridftpbwkey
- the key for requesting the informationException
public String toXML()