| java.lang.Object org.cougaar.pizza.relay.RSVPRelaySource
getContent | public Object getContent()(Code) | | The query in the relay.
the query in the RSVP - meat or veg? |
getTargetFactory | public TargetFactory getTargetFactory()(Code) | | Get the Factory for RSVPTargets.
This factory creates a stand-alone Relay.Target implementation, simply
copying over the content (our query). If we implemented the Relay.Target
and Relay.Source in the same Class, we'd want to ensure
that the target had an empty set of target addresses, to
avoid re-propagating the Relay from the target agents.
If your Relay.Target was also a Relay.Source and did
include target addresses, this could lead to endless pinging in this case
where the target address is an ABA broadcast to all members of the
community.
target factory that makes a stand-alone Relay Target |
getTargets | public Set getTargets()(Code) | | Who gets this invitation?
set of targets (For us, just one member - the AttributeBasedAddress) |
getUID | public UID getUID()(Code) | | Implemented for UniqueObject interface.
the UID of this UniqueObject. |
setUID | public void setUID(UID uid)(Code) | | Does nothing - not allowed to reset UID.
Implemented for UniqueObject interface.
|
updateResponse | public int updateResponse(MessageAddress target, Object response)(Code) | | Record responses from remote agents as they come in on the
PizzaPreferences
object.
Note that we assume the response will be a
RSVPReply .
If INFO logging is on, tells how long we had to wait until all responses
came back.
Relay.RESPONSE_CHANGE - since every time we get a response, wewant to examine it |
|
|