org.apache.avalon.excalibur.event
Interface Message

All Superinterfaces:
QueueElement

public interface Message
extends QueueElement

A Source implements the side of an event queue where QueueElements are dequeued operations only.

Author:
Berin Loritsch

Method Summary
 void attach(java.lang.Object attachment)
          Attach an Object to the message.
 void clear()
          Clear the attachment.
 java.lang.Object getAttachment()
          Get the attachment associated with this Message.
 

Method Detail

getAttachment

public java.lang.Object getAttachment()
Get the attachment associated with this Message. If there is no attachment, this method will return null.

attach

public void attach(java.lang.Object attachment)
Attach an Object to the message.

clear

public void clear()
Clear the attachment.


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.