flowsim.slatr
Class SLATP_Accept

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

public final class SLATP_Accept
extends flowsim.slatr.SLATP_Message

Accept message of the SLA Trading Protocol (SLATP).

See Also:
SLATP_Bid, SLATP_Confirm

Method Summary
 void arrived()
           
 Node get_sla_dest()
           
 int get_sla_ds()
           
static void send(Simulator s, SLABuyer from, SLASeller to, Node sla_dest, int sla_ds)
          Send a SLATP_Accept 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
 

Method Detail

get_sla_ds

public int get_sla_ds()

get_sla_dest

public Node get_sla_dest()

send

public static void send(Simulator s,
                        SLABuyer from,
                        SLASeller to,
                        Node sla_dest,
                        int sla_ds)
Send a SLATP_Accept 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 - buyer
to - seller
sla_dest - dest node of the SLA in question.
sla_ds - ds of the SLA in question.
See Also:
PacketImpl

size

public int size()

arrived

public void arrived()