fipaos.mts
Interface MessageSender

All Known Subinterfaces:
ConversationManager
All Known Implementing Classes:
TaskManager.TestSender, MTS

public interface MessageSender

This interface should be implemented by any class offering outgoing message sending services, either directly or in-directly


Method Summary
 voidsendMessage(Message msg)
          Attempt to send the message given
 voidsetMessageReceiver(MessageReceiver mr)
          Set the reference to the MessageReceiver that should receive incoming messages
 voidshutdown()
          Attempt to shutdown the implementation safely

Method Detail

sendMessage

public void sendMessage(Message msg)
Attempt to send the message given
Parameters:
message - The message to be sent

setMessageReceiver

public void setMessageReceiver(MessageReceiver mr)
Set the reference to the MessageReceiver that should receive incoming messages

shutdown

public void shutdown()
Attempt to shutdown the implementation safely