Package jade.core.messaging
Interface PersistentDeliverySlice
-
- All Superinterfaces:
Serializable,Serializable,Service.Slice
- All Known Implementing Classes:
PersistentDeliveryProxy
public interface PersistentDeliverySlice extends Service.Slice
The horizontal interface for the JADE kernel-level service managing the message passing subsystem installed in the platform.- Author:
- Giovanni Rimassa - FRAMeTech s.r.l.
-
-
Field Summary
Fields Modifier and Type Field Description static StringH_FLUSHMESSAGESstatic StringH_STOREMESSAGEThis command name represents the action of removing a given message template from a message store.static StringNAMEThe name of this service.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflushMessages(AID receiver)booleanstoreMessage(String storeName, GenericMessage msg, AID receiver)-
Methods inherited from interface jade.core.Service.Slice
getNode, getService, serve
-
-
-
-
Field Detail
-
NAME
static final String NAME
The name of this service.- See Also:
- Constant Field Values
-
H_STOREMESSAGE
static final String H_STOREMESSAGE
This command name represents the action of removing a given message template from a message store. This stops the retention of undelivered ACL messages for that agent ID.- See Also:
- Constant Field Values
-
H_FLUSHMESSAGES
static final String H_FLUSHMESSAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
storeMessage
boolean storeMessage(String storeName, GenericMessage msg, AID receiver) throws IMTPException, NotFoundException
- Throws:
IMTPExceptionNotFoundException
-
flushMessages
void flushMessages(AID receiver) throws IMTPException
- Throws:
IMTPException
-
-