Package jade.core.messaging
Class PersistentDeliveryProxy
- java.lang.Object
-
- jade.core.SliceProxy
-
- jade.core.messaging.PersistentDeliveryProxy
-
- All Implemented Interfaces:
PersistentDeliverySlice,Service.Slice,Serializable,Serializable
public class PersistentDeliveryProxy extends SliceProxy implements PersistentDeliverySlice
The remote proxy for the JADE kernel-level service managing a persistent message delivery subsystem installed in the platform. A persistent message delivery is able to deliver an ACL message across an agent lifecycle, as long as the agent ID stays the same.- Author:
- Giovanni Rimassa - FRAMeTech s.r.l.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface jade.core.messaging.PersistentDeliverySlice
H_FLUSHMESSAGES, H_STOREMESSAGE, NAME
-
-
Constructor Summary
Constructors Constructor Description PersistentDeliveryProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflushMessages(AID receiver)booleanstoreMessage(String storeName, GenericMessage msg, AID receiver)-
Methods inherited from class jade.core.SliceProxy
getNode, getService, serve, setNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jade.core.Service.Slice
getNode, getService, serve
-
-
-
-
Method Detail
-
storeMessage
public boolean storeMessage(String storeName, GenericMessage msg, AID receiver) throws IMTPException, NotFoundException
- Specified by:
storeMessagein interfacePersistentDeliverySlice- Throws:
IMTPExceptionNotFoundException
-
flushMessages
public void flushMessages(AID receiver) throws IMTPException
- Specified by:
flushMessagesin interfacePersistentDeliverySlice- Throws:
IMTPException
-
-