|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--inria.net.lrmp.LrmpProfile
LRMP profile is used to configure an LRMP object from an application. An application should use this object to do QoS settings.
When the profile is set, Lrmp makes a local copy to prevent erroneous settings on the same profile by the application. Thus when the application modifies the current settings, it should call Lrmp.setProfile() to make it to take effect.
Field Summary | |
static int |
AdaptedThroughput
The flow control: adapted rate. |
int |
bandwidth
The bandwidth to use for data transmission, in kbits/sec. |
static int |
BestEffort
The flow control: best effort. |
static int |
ConstantThroughput
The flow control: constant rate. |
static int |
LimitedLoss
The reliability requirement: limited loss. |
static int |
LossAllowed
The reliability requirement: loss tolerable. |
int |
maxRate
The expected maximum data rate, in kbits/sec. |
int |
minRate
The expected minimum data rate, in kbits/sec. |
static int |
NoLoss
The reliability requirement: no loss. |
static int |
NoReceiverReport
The feedback mechanism: no report. |
boolean |
ordered
The packet ordering. |
static int |
PeriodicReceiverReport
The feedback mechanism: periodic report. |
static int |
RandomReceiverReport
The feedback mechanism: random report. |
int |
rcvReportSelection
The receiver report scheme, it only makes sense for data senders. |
int |
rcvWindowSize
The reception window size, in number of packets. |
int |
reliability
The loss control setting. |
boolean |
sendRepair
A flag to enable sending repairs when the local user is a receiver. |
int |
sendWindowSize
The send window size, in number of packets. |
int |
throughput
The rate control scheme. |
Constructor Summary | |
LrmpProfile()
Constructs a LrmpProfile. |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
lossAllowed()
Returns true if packet loss is allowed. |
void |
setEventHandler(LrmpEventHandler handler)
Sets the event handler of LRMP. |
void |
setQoS(int reliability,
boolean ordered,
int throughput)
Sets QoS parameters. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LossAllowed
public static final int LimitedLoss
public static final int NoLoss
public static final int BestEffort
public static final int ConstantThroughput
public static final int AdaptedThroughput
public static final int NoReceiverReport
public static final int RandomReceiverReport
public static final int PeriodicReceiverReport
public boolean ordered
public int reliability
public int throughput
public int bandwidth
public int minRate
public int maxRate
public int sendWindowSize
public int rcvWindowSize
public boolean sendRepair
public int rcvReportSelection
Constructor Detail |
public LrmpProfile()
Method Detail |
public void setQoS(int reliability, boolean ordered, int throughput)
reliability
- loss allowed or not.ordered
- ordered packet delivery or not.throughput
- rate control algorithm to use.public void setEventHandler(LrmpEventHandler handler)
handler
- the event handler.public boolean lossAllowed()
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.