org.red5.server.stream.bandwidth
Class ServerClientDetection
java.lang.Object
org.red5.server.stream.bandwidth.ServerClientDetection
- All Implemented Interfaces:
- IPendingServiceCallback, IBandwidthDetection
public class ServerClientDetection
- extends Object
- implements IPendingServiceCallback, IBandwidthDetection
Calculates the bandwidth between the client and server. The checks originate from the server.
- Author:
- The Red5 Project ([email protected]), Dan Rossi, Paul Gregoire
- See Also:
- FMS 3.5 Bandwidth Doc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerClientDetection
public ServerClientDetection()
checkBandwidth
public void checkBandwidth(IConnection conn)
- Specified by:
checkBandwidth in interface IBandwidthDetection
calculateClientBw
public void calculateClientBw(IConnection conn)
- Specified by:
calculateClientBw in interface IBandwidthDetection
resultReceived
public void resultReceived(IPendingServiceCall call)
- Handle callback from service call.
- Specified by:
resultReceived in interface IPendingServiceCallback
- Parameters:
call - Call object this callback is applied to
onServerClientBWCheck
public void onServerClientBWCheck()
Copyright © 2006-2012 The Red5 Project