Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

sajas.core.behaviours
Interface ReceiverBehaviour.Handle
Enclosing class:
ReceiverBehaviour

public static interface ReceiverBehaviour.Handle
An interface representing ACL messages due to arrive within a time limit. This interface is used to create a ReceiverBehaviour object to receive an ACL message within a user specified time limit. When the user tries to read the message represented by the handle, either gets it or gets an exception.
See Also:
jade.core.behaviours.ReceiverBehaviour.newHandle(), jade.core.behaviours.ReceiverBehaviour.ReceiverBehaviour(Agent a, ReceiverBehaviour.Handle h, long millis)

Method Summary
jade.lang.acl.ACLMessage
getMessage()
          Tries to retrieve the ACLMessage object represented by this handle.
Method Detail
getMessage
jade.lang.acl.ACLMessage getMessage()
                             throws ReceiverBehaviour.TimedOut,
                                    ReceiverBehaviour.NotYetReady
Tries to retrieve the ACLMessage object represented by this handle.
Returns:
The ACL message, received by the associated ReceiverBehaviour, if any.
Throws:
ReceiverBehaviour.TimedOut - If the associated ReceiverBehaviour did not receive a suitable ACL message within the time limit.
ReceiverBehaviour.NotYetReady - If the associated ReceiverBehaviour is still waiting for a suitable ACL message to arrive.
See Also:
jade.core.behaviours.ReceiverBehaviour.ReceiverBehaviour(Agent a, ReceiverBehaviour.Handle h, long millis)

Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Java API documentation generated with DocFlex/Doclet 1.6.1 using JavadocPro template set.
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc, which is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com