flowsim.slatr
Class SLATP_Bid

java.lang.Object
  |
  +--flowsim.slatr.SLATP_Message
        |
        +--flowsim.slatr.SLATP_Bid

public final class SLATP_Bid
extends flowsim.slatr.SLATP_Message

Bid message of the SLA Trading Protocol (SLATP).

See Also:
SLATP_Ask, SLATP_Accept

Constructor Summary
SLATP_Bid(Service from, Service to, SLA sla)
           
 
Method Summary
 void arrived()
           
 SLA get_sla()
           
static void send(Simulator s, SLASeller from, SLABuyer to, SLA sla)
          Send a SLATP_Bid 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
 

Constructor Detail

SLATP_Bid

public SLATP_Bid(Service from,
                 Service to,
                 SLA sla)
Method Detail

get_sla

public SLA get_sla()

send

public static void send(Simulator s,
                        SLASeller from,
                        SLABuyer to,
                        SLA sla)
Send a SLATP_Bid 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 object
from - seller
to - buyer
sla - SLA proposed
See Also:
PacketImpl

size

public final int size()

arrived

public void arrived()