NetworkManagementService: Combine setInterfaceRx/Tx throttle and add max speed

Change-Id: I1d6816c9754801504a988802118a2167e0eb8690
Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
San Mehat
2010-04-02 11:50:05 -07:00
parent c1548e3819
commit be23fba286
2 changed files with 5 additions and 17 deletions

View File

@@ -191,14 +191,9 @@ interface INetworkManagementService
long getInterfaceRxCounter(String iface);
/**
* Configures RX bandwidth throttling on an interface
* Configures bandwidth throttling on an interface
*/
void setInterfaceRxThrottle(String iface, int kbps);
/**
* Configures TX bandwidth throttling on an interface
*/
void setInterfaceTxThrottle(String iface, int kbps);
void setInterfaceThrottle(String iface, int maxKbits, int rxKbps, int txKbps);
/**
* Returns the currently configured RX throttle values
@@ -211,4 +206,5 @@ interface INetworkManagementService
* for the specified interface
*/
int getInterfaceTxThrottle(String iface);
}