NAME
FusionInventory::Agent::Target::Listen - Listen target
DESCRIPTION
This is a target to serve execution result on a listening port.
METHODS
new(%params)
The constructor. The allowed parameters are the ones from the base class FusionInventory::Agent::Target
.
getName()
Return the target name
getType()
Return the target type
plannedTasks([@tasks])
Initializes target tasks with supported ones if a list of tasks is provided
Return an array of planned tasks.
inventory_xml([$xml])
Set or retrieve an inventory XML to be used by an HTTP plugin
session(%params)
Create or retrieve a FusionInventory::Agent::HTTP::Session object keeping it stored in a local storage.
Supported parameters:
- remoteid
-
a session id used to index stored sessions
- timeout
-
the session timeout to use in seconds (default: 600)
clean_session($remoteid)
Remove a no more used session from the stored sessions.