Skip to main content
Define a DPF session. Inherits from:

Members

Public functions

Function Session

Return type:

Function ~Session

Return type:

Function Session

Create a new Session on a server. Parameters:
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type:

Function Session

Parameters:
  • Session const &
Return type:

Function Session

Parameters:
  • Session &&
Return type:

Function operator=

Parameters:
  • Session const &
Return type: Session &

Function operator=

Parameters:
  • Session &&
Return type: Session &

Function id

Returns: Id of session. Return type: std::string

Function add

Add a workflow to session. Parameters:
  • Workflow & wf: [in] Workflow to add.
  • std::string const & identifier: [out] Identifier for workflow.
Return type: void

Function add

Add workflow to session. Returns: Identifier for workflow. Parameters:
  • Workflow & wf: [in] Workflow to add.
Return type: std::string

Function getWorkflow

Returns: Workflow given by identifier. Parameters:
  • std::string const & identifier: [in] Identifier of workflow.
Return type: Workflow

Function getWorkflowByIndex

Returns: Workflow given by index. Parameters:
  • dp_index index: [in] Index of workflow.
Return type: Workflow

Function numberOfWorkflow

Returns: Number of workflows in session. Return type: dp_int

Function flushWorkflows

Return type: void

Function addEventHandler

Add event handler to handle status of DPF session. Parameters:
  • EventHandler & event_handler: [in] Handler for session status.
Return type: void