kaos.core.service.util
Interface CallbackTransportInfo

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
CallbackTransport, RemoteActionStatusCallback, RemoteInfoStatusCallback, RemoteKAoSObserver, ResultCallback
All Known Implementing Classes:
CallbackTransportImpl, ObserverManagerImpl.MyRemoteKAoSObserver, RemoteActionCallbackImpl, RemoteActionStatusCallbackImpl, RemoteKAoSObserverImpl, ResultCallbackImpl

public interface CallbackTransportInfo
extends java.io.Serializable

Defines the operations to set the sender's transport information. This interface is combined with remote callbacks, so the remote callbacks can use the sender's platform to send messages back to the requestors of action/information.


Method Summary
 void setTransportInfo(MessageTransportService msgTransportService, Locator senderLocator, java.lang.String senderName)
          Set the transport parameters of the sender, so the callback object will be able to send messages back.
 

Method Detail

setTransportInfo

void setTransportInfo(MessageTransportService msgTransportService,
                      Locator senderLocator,
                      java.lang.String senderName)
Set the transport parameters of the sender, so the callback object will be able to send messages back.

Parameters:
msgTransportService - MessageTransportService that can be used to send messages out.
senderLocator - Locator of the sender to include in all outgoing TransportMessages.
senderName - String containing the sender name to include in all outgoing TransportMessages.