edu.vub.at.actors
Interface Letter


 Letter

ATLetter is the public interface to an AmbientTalk letter. The inbox of and actor consists of a set of objects that implement this interface.

Author:
stimberm

Method Summary
 Object cancel()
          Cancels the delivery of this letter.
 AsyncMessage message()
          Returns the message that is contained in the letter and that should be delivered to the receiver.
 Object receiver()
          Returns the receiver of the letter
 
Methods inherited from interface edu.vub.at.objects.Object
super
 

Method Detail

receiver

Object receiver()
Returns the receiver of the letter

Returns:
the receiver of the letter

message

AsyncMessage message()
Returns the message that is contained in the letter and that should be delivered to the receiver.

Returns:
an AsyncMessage denoting the message

cancel

Object cancel()
Cancels the delivery of this letter. It is immediately removed from the actor's inbox.