Interface ActiveObject
-
- All Known Implementing Classes:
AbstractTcpPacketHandler,LocalQueue,TcpPacketReceiver,TcpPacketSender
public interface ActiveObjectAn active object is supposed to have regular activity.
If the object last activity gets too old (older than the configured timeout delay), the activity watchdog will kick in and call the onActivityTimeout() method of the object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetLastActivity()Get a timestamp of this object's last activitylonggetTimeoutDelay()Get the maximum allowed time between activitiesbooleanonActivityTimeout()Called if the object has been inactive for more
-