Class skydata::internal::behaviours::CleanMessagesBuffer¶
ClassList > skydata > internal > behaviours > CleanMessagesBuffer
Inherits the following classes: skydata::internal::behaviours::SKAgentBehaviour
Public Attributes inherited from skydata::internal::behaviours::SKAgentBehaviour¶
See skydata::internal::behaviours::SKAgentBehaviour
Type | Name |
---|---|
SKAgent | agent = null |
Public Functions¶
Type | Name |
---|---|
CleanMessagesBuffer (SKAgent agent) |
|
void | action () |
Public Functions inherited from skydata::internal::behaviours::SKAgentBehaviour¶
See skydata::internal::behaviours::SKAgentBehaviour
Type | Name |
---|---|
SKAgentBehaviour (SKAgent agent) |
|
void | action () |
void | actionWithParameters (Object o) |
boolean | done () |
Detailed Description¶
This behaviour aims to clean regularly the message buffer in order to save memory.
This behaviour use one argument : * mesageDelayInBuffer : an integer for the delay (in ms) between the sending and the clean
Public Functions Documentation¶
function CleanMessagesBuffer¶
inline skydata::internal::behaviours::CleanMessagesBuffer::CleanMessagesBuffer (
SKAgent agent
)
Add this behaviour to an agent
Parameters:
agent
: the agent
function action¶
inline void skydata::internal::behaviours::CleanMessagesBuffer::action ()
Start the behaviour
Implements skydata::internal::behaviours::SKAgentBehaviour::action
The documentation for this class was generated from the following file /home/maxime/Desktop/skd_proto_v2/skd/src/main/java/skydata/internal/behaviours/CleanMessagesBuffer.java