GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Private Attributes

de.zib.gndms.taskflows.filetransfer.server.network.StaticBandWidthEstimater Class Reference

This class is for developing and testing purpose only. More...

Inheritance diagram for de.zib.gndms.taskflows.filetransfer.server.network.StaticBandWidthEstimater:
de.zib.gndms.taskflows.filetransfer.server.network.BandWidthEstimater

List of all members.

Public Member Functions

Float estimateBandWidthFromTo (String src, String tgt)
 Estimates the bandwidth between to given hosts.

Private Attributes

final Float bandWidth = new Float( 10 * 1000*1000 / 8 )

Detailed Description

This class is for developing and testing purpose only.

Its estimateBandWidthFromTo-method returns a fixed value, which is independent of the given hosts.

Author:
try ma ik jo rr a zib
Version:
$Id$

User: mjorra, Date: 01.10.2008, Time: 10:29:43


Member Function Documentation

Float de.zib.gndms.taskflows.filetransfer.server.network.StaticBandWidthEstimater.estimateBandWidthFromTo ( String  src,
String  tgt 
)

Estimates the bandwidth between to given hosts.

Returns:
Returns the estimaed speed in byte/s or NULL if there is they are not connected. (Maybe because one of the hosts doesn't exist)

Implements de.zib.gndms.taskflows.filetransfer.server.network.BandWidthEstimater.

                                                                   {
        return bandWidth;
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables