Package 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, Dan Rossi, Paul Gregoire
- See Also:
- FMS 3.5 Bandwidth Doc
-
-
Constructor Summary
Constructors Constructor Description ServerClientDetection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculateClientBw(IConnection conn)
void
checkBandwidth(IConnection conn)
void
onServerClientBWCheck()
void
resultReceived(IPendingServiceCall call)
Handle callback from service call.
-
-
-
Method Detail
-
checkBandwidth
public void checkBandwidth(IConnection conn)
- Specified by:
checkBandwidth
in interfaceIBandwidthDetection
-
calculateClientBw
public void calculateClientBw(IConnection conn)
- Specified by:
calculateClientBw
in interfaceIBandwidthDetection
-
resultReceived
public void resultReceived(IPendingServiceCall call)
Handle callback from service call.- Specified by:
resultReceived
in interfaceIPendingServiceCallback
- Parameters:
call
- Call object this callback is applied to
-
onServerClientBWCheck
public void onServerClientBWCheck()
-
-