| org.cougaar.mts.base.DestinationLink
All known Subclasses: org.cougaar.mts.base.DestinationLinkDelegateImplBase,
DestinationLink | public interface DestinationLink (Code) | | The fifth station for outgoing messages. Each LinkProtocol has its
own DestinationLink implementation class. DestinationLinks are
made by the protocols, acting as factories.
The previous station is DestinationQueue. If the protocol uses
Java serialization, the next station is MessageWriter.
If there is no serialization, MessageDeliverer on the receiving
side is the next stop.
See Also: LinkProtocol See Also: SendLink See Also: SendQueue See Also: Router See Also: DestinationQueue See Also: MessageWriter See Also: MessageReader See Also: MessageDeliverer See Also: ReceiveLink See Also: Javadoc contributions from George Mount. |
getProtocolClass | Class getProtocolClass()(Code) | | the class of corresponding LinkProtocol. |
getRemoteReference | Object getRemoteReference()(Code) | | Return some form of remote reference for the destination, if it
has one (rmi server stub, smtp url, CORBA ior, etc)
|
isValid | boolean isValid()(Code) | | Is this link currently legitimate and functional? The default
is true for loopback and would ordinarily be true for remote
calls if the stub (or whatever) is accessible. Aspects can
alter this behavior, for example to disable unencrypted rmi.
This method in invoked on every loaded link before the link
selection policy is run; the policy will not see invalid links
at all. As a side-effect, cost() will not always be run (as
it was before 11_0).
|
retryFailedMessage | boolean retryFailedMessage(AttributedMessage message, int retryCount)(Code) | | Ask Link whether or not further retries should be attempted.
|
|
|