fipaos.ont.fipa.fipaman
Class TransportBehaviour


public class TransportBehaviour
implements Serializable

This class represents the TransportBehaviour property defined in FIPA99


Constructor Summary
TransportBehaviour()
          Constructs a "blank" TransportBehaviour instance
TransportBehaviour(TransportBehaviour tp)
           

Method Summary
 voidaddAcknowledgementAID(AgentID aid)
          Adds an AgentID to the list of acknowledgement AgentID's
 voidaddErrorMessageAID(AgentID aid)
          Adds an AgentID to the list of error-message AgentID's
 Objectclone()
           
 ListgetAcknowledgementAIDs()
          Gets the list of acknowledgement AgentID's
 StringgetDelivery()
          Gets the delivery parameter of this
 ListgetErrorMessageAIDs()
          Gets a List of AgentID's in the error-message list
 voidsetAcknowledgementAIDs(List aids)
          Sets the List of AgentID's to receive acknowledgements
 voidsetDelivery(String delivery)
          Sets the delivery parameter of this
 voidsetErrorMessageAIDs(List aids)
          Sets the AIDs of Agents to receive error messages

Constructor Detail

TransportBehaviour

public TransportBehaviour()
Constructs a "blank" TransportBehaviour instance

TransportBehaviour

public TransportBehaviour(TransportBehaviour tp)
Method Detail

addAcknowledgementAID

public void addAcknowledgementAID(AgentID aid)
Adds an AgentID to the list of acknowledgement AgentID's
Parameters:
aid - AgentID to add

addErrorMessageAID

public void addErrorMessageAID(AgentID aid)
Adds an AgentID to the list of error-message AgentID's
Parameters:
aid - AgentID to add

clone

public Object clone()

getAcknowledgementAIDs

public List getAcknowledgementAIDs()
Gets the list of acknowledgement AgentID's
Returns: List of AgentID's

getDelivery

public String getDelivery()
Gets the delivery parameter of this
Returns: The current delivery parameter value

getErrorMessageAIDs

public List getErrorMessageAIDs()
Gets a List of AgentID's in the error-message list
Returns: A List of AgentID's

setAcknowledgementAIDs

public void setAcknowledgementAIDs(List aids)
Sets the List of AgentID's to receive acknowledgements
Parameters:
aids - List of AgentID's

setDelivery

public void setDelivery(String delivery)
Sets the delivery parameter of this
Parameters:
delivery - New delivery value

setErrorMessageAIDs

public void setErrorMessageAIDs(List aids)
Sets the AIDs of Agents to receive error messages
Parameters:
aids - List of AgentID's

Association Links

to Class java.util.List

to Class java.lang.String

to Class java.util.List