opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::IMasterApplication Class Reference

Interface for all master application callback info except for measurement values. More...

#include <opendnp3/master/IMasterApplication.h>

Public Member Functions

virtual ~IMasterApplication ()
 
virtual bool AssignClassDuringStartup ()
 
virtual void ConfigureAssignClassRequest (const WriteHeaderFunT &fun)
 Configure the request headers for assign class. More...
 
virtual void OnClose ()
 Called when the application layer is closed. More...
 
virtual void OnOpen ()
 Called when the application layer is opened. More...
 
virtual void OnReceiveIIN (const IINField &iin)
 Called when a response or unsolicited response is receive from the outstation. More...
 
virtual void OnTaskComplete (const TaskInfo &info)
 Task completion notification. More...
 
virtual void OnTaskStart (MasterTaskType type, TaskId id)
 Task start notification. More...
 
- Public Member Functions inherited from opendnp3::IUTCTimeSource
virtual UTCTimestamp Now ()=0
 Returns a UTCTimestamp of the current time. More...
 

Detailed Description

Interface for all master application callback info except for measurement values.

Definition at line 41 of file IMasterApplication.h.

Constructor & Destructor Documentation

◆ ~IMasterApplication()

virtual opendnp3::IMasterApplication::~IMasterApplication ( )
inlinevirtual

Definition at line 44 of file IMasterApplication.h.

Member Function Documentation

◆ AssignClassDuringStartup()

virtual bool opendnp3::IMasterApplication::AssignClassDuringStartup ( )
inlinevirtual
Returns
true if the master should do an assign class task during startup handshaking

Reimplemented in opendnp3::DefaultMasterApplication.

Definition at line 62 of file IMasterApplication.h.

◆ ConfigureAssignClassRequest()

virtual void opendnp3::IMasterApplication::ConfigureAssignClassRequest ( const WriteHeaderFunT fun)
inlinevirtual

Configure the request headers for assign class.

Only called if "AssignClassDuringStartup" returns true The user only needs to call the function for each header type to be written

Reimplemented in opendnp3::DefaultMasterApplication.

Definition at line 70 of file IMasterApplication.h.

◆ OnClose()

virtual void opendnp3::IMasterApplication::OnClose ( )
inlinevirtual

Called when the application layer is closed.

Definition at line 59 of file IMasterApplication.h.

◆ OnOpen()

virtual void opendnp3::IMasterApplication::OnOpen ( )
inlinevirtual

Called when the application layer is opened.

Definition at line 56 of file IMasterApplication.h.

◆ OnReceiveIIN()

virtual void opendnp3::IMasterApplication::OnReceiveIIN ( const IINField iin)
inlinevirtual

Called when a response or unsolicited response is receive from the outstation.

Reimplemented in opendnp3::DefaultMasterApplication.

Definition at line 47 of file IMasterApplication.h.

◆ OnTaskComplete()

virtual void opendnp3::IMasterApplication::OnTaskComplete ( const TaskInfo info)
inlinevirtual

Task completion notification.

Reimplemented in opendnp3::DefaultMasterApplication.

Definition at line 53 of file IMasterApplication.h.

◆ OnTaskStart()

virtual void opendnp3::IMasterApplication::OnTaskStart ( MasterTaskType  type,
TaskId  id 
)
inlinevirtual

Task start notification.

Reimplemented in opendnp3::DefaultMasterApplication.

Definition at line 50 of file IMasterApplication.h.


The documentation for this class was generated from the following file: