Class GridFTPBandwidth


  • public class GridFTPBandwidth
    extends java.lang.Object
    This is a data class to store information about gridftp bandwidths between various sites. The class is no longer used, and is there for compilation purposes.
    Version:
    $Revision$
    Author:
    Saurabh Khurana, Karan Vahi
    • Field Detail

      • dest_subnet_id

        private java.lang.String dest_subnet_id
      • avg_bandwidth_range1

        private java.lang.String avg_bandwidth_range1
      • avg_bandwidth_range2

        private java.lang.String avg_bandwidth_range2
      • avg_bandwidth_range3

        private java.lang.String avg_bandwidth_range3
      • avg_bandwidth_range4

        private java.lang.String avg_bandwidth_range4
      • avg_bandwidth

        private java.lang.String avg_bandwidth
      • max_bandwidth

        private java.lang.String max_bandwidth
      • min_bandwidth

        private java.lang.String min_bandwidth
      • GRIDFTPBANDWIDTHINFO

        public static final java.lang.String[] GRIDFTPBANDWIDTHINFO
    • Constructor Detail

      • GridFTPBandwidth

        public GridFTPBandwidth()
    • Method Detail

      • setInfo

        public void setInfo​(int gridftpbwkey,
                            java.lang.String gridftpbwvalue)
                     throws java.lang.Exception
        This method sets the info about gridftpbw based on the gridftpbwkey
        Parameters:
        gridftpbwkey - the key for indicating the information
        gridftpbwvalue - is the information
        Throws:
        java.lang.Exception
      • getInfo

        public java.lang.String getInfo​(int gridftpbwkey)
                                 throws java.lang.Exception
        This method gets the info about gridftpbw based on the gridftpbwkey
        Parameters:
        gridftpbwkey - the key for requesting the information
        Returns:
        String
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toXML

        public java.lang.String toXML()
        Returns the XML description of the contents of Gridftp object.
        Returns:
        the xml description.