Home | History | Annotate | Download | only in net

Lines Matching defs:bandwidth

34  * The priority and bandwidth parameters must be set before
40 * until it takes effect. The priority and bandwidth values are only valid when
55 private long bandwidth = UNSET;
128 * Sets this SocketFlow's bandwidth. Must be greater than or equal to zero.
131 * @throws IllegalArgumentException if bandwidth is less than zero.
133 public SocketFlow bandwidth(long bandwidth) {
134 if (bandwidth < 0) {
135 throw new IllegalArgumentException("invalid bandwidth");
137 this.bandwidth = bandwidth;
150 * Returns this SocketFlow's bandwidth.
152 * @return this SocketFlow's bandwidth, or {@code -1} if status is not OK.
154 public long bandwidth() {
155 return bandwidth;