flowsim.slatr
Class SLATP_Ask
java.lang.Object
|
+--flowsim.slatr.SLATP_Message
|
+--flowsim.slatr.SLATP_Ask
- public class SLATP_Ask
- extends flowsim.slatr.SLATP_Message
Ask message of the SLA Trading Protocol (SLATP).
- See Also:
SLATP_Bid
Method Summary |
void |
arrived()
|
static void |
send(Simulator s,
SLABuyer from,
SLASeller to,
Node dest,
int bw,
int max_delay,
long expiration)
Send a SLATP_Ask message to a SLAT-peer which can be local or on another
node. |
int |
size()
|
Methods inherited from class flowsim.slatr.SLATP_Message |
arrived,
get_from,
get_to |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
dest
public final Node dest
bw
public final int bw
max_delay
public final int max_delay
expiration
public final long expiration
send
public static void send(Simulator s,
SLABuyer from,
SLASeller to,
Node dest,
int bw,
int max_delay,
long expiration)
- Send a SLATP_Ask message to a SLAT-peer which can be local or on another
node. If the destination is on another node, a PacketImpl flow is
created and started.
- Parameters:
s
- simulator objectfrom
- buyerto
- sellerdest
- wanted dest pointbw
- wanted (ideal) bandwidthmax_delay
- wanted (ideal) maximal delayexpiration
- wanted (ideal) expiration- See Also:
PacketImpl
size
public int size()
arrived
public void arrived()