cgl.narada.transport
Interface LinkNegotiator

All Known Implementing Classes:
HTTPLinkNegotiator, LinkNegotiatorImpl, SSLLinkNegotiator

public interface LinkNegotiator

All link implementations need to have an implementation of the LinkNegotiator interface, which is used by the administrative link to determine communication metrics and possibilities. For each transport implementation LinkNegotiators are what is used by the AdminsitrativeLink to determine the best available link to deploy for communications between two NaradaBrokering nodes. The negotiation properties that need to be set for a LinkNegotiator are generally similar to those required for the creation of the corresponding link.


Method Summary
 String getLinkNegotiatorType()
          This returns information regarding the type of the LinkNegotiator
 boolean negotiationResult()
          Returns the results of a negotiation attempt, while deploying a certain communication link.
 void setNegotiationProperties(Properties properties)
          Sets a set of properties to enable negotiation between two NaradaBrokering endpoints.
 

Method Detail

setNegotiationProperties

void setNegotiationProperties(Properties properties)
Sets a set of properties to enable negotiation between two NaradaBrokering endpoints. These negotiation properties have to be retrieved at run-time.

Parameters:
properties - The properties needed to set up negotiation.

negotiationResult

boolean negotiationResult()
Returns the results of a negotiation attempt, while deploying a certain communication link.

Returns:
true If the negotiation was successful, false otherwise.

getLinkNegotiatorType

String getLinkNegotiatorType()
This returns information regarding the type of the LinkNegotiator



For comments and suggestions please send e-mail to The NaradaBrokering Project