org.red5.server.api
Interface IConnectionBWConfig

All Superinterfaces:
Cloneable, IBandwidthConfigure
All Known Implementing Classes:
SimpleConnectionBWConfig

public interface IConnectionBWConfig
extends IBandwidthConfigure

The bandwidth configure for connection that has an extra property "upstreamBandwidth" which is not used by Bandwidth Control Framework in Red5.

Version:
$Id$
Author:
Steven Gong (steven.gong@gmail.com)

Field Summary
 
Fields inherited from interface org.red5.server.api.IBandwidthConfigure
AUDIO_CHANNEL, DATA_CHANNEL, MAX_CHANNEL_CONFIG_COUNT, OVERALL_CHANNEL, VIDEO_CHANNEL
 
Method Summary
 long getDownstreamBandwidth()
          Getter for downstream bandwidth
 long getUpstreamBandwidth()
          Get the upstream bandwidth to be notified to the client.
 void setUpstreamBandwidth(long bw)
          Set the upstream bandwidth to be notified to the client.
 
Methods inherited from interface org.red5.server.api.IBandwidthConfigure
getChannelBandwidth, getChannelInitialBurst
 

Method Detail

setUpstreamBandwidth

void setUpstreamBandwidth(long bw)
Set the upstream bandwidth to be notified to the client. Upstream is the data that is sent from the client to the server.

Parameters:
bw - Bandwidth

getUpstreamBandwidth

long getUpstreamBandwidth()
Get the upstream bandwidth to be notified to the client. Upstream is the data that is sent from the client to the server.

Returns:
Upstream (from client to server) bandwidth configuration

getDownstreamBandwidth

long getDownstreamBandwidth()
Getter for downstream bandwidth

Returns:
Downstream bandwidth, from server to client


Copyright © 2006-2009 The Red5 Project