opendnp3
3.1.0
Reference implementation of DNP3 (IEEE-1815)
|
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::ILinkListener | |
virtual void | OnKeepAliveFailure () |
Called when a keep alive message (request link status) receives no response. More... | |
virtual void | OnKeepAliveInitiated () |
Called when the keep alive timer elapses. This doesn't denote a keep-alive failure, it's just a notification. More... | |
virtual void | OnKeepAliveSuccess () |
Called when a keep alive message receives a valid response. More... | |
virtual void | OnStateChange (LinkStatus value) |
Called when a the reset/unreset status of the link layer changes. More... | |
virtual void | OnUnknownDestinationAddress (uint16_t destination) |
Called when a link-layer frame is received from an unknown destination address. More... | |
virtual void | OnUnknownSourceAddress (uint16_t source) |
Called when a link-layer frame is received from an unknown source address. More... | |
Public Member Functions inherited from opendnp3::IUTCTimeSource | |
virtual UTCTimestamp | Now ()=0 |
Returns a UTCTimestamp of the current time. More... | |
Interface for all master application callback info except for measurement values.
Definition at line 41 of file IMasterApplication.h.
|
inlinevirtual |
Definition at line 44 of file IMasterApplication.h.
|
inlinevirtual |
Reimplemented in opendnp3::DefaultMasterApplication.
Definition at line 62 of file IMasterApplication.h.
|
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.
|
inlinevirtual |
Called when the application layer is closed.
Definition at line 59 of file IMasterApplication.h.
|
inlinevirtual |
Called when the application layer is opened.
Definition at line 56 of file IMasterApplication.h.
|
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.
|
inlinevirtual |
Task completion notification.
Reimplemented in opendnp3::DefaultMasterApplication.
Definition at line 53 of file IMasterApplication.h.
|
inlinevirtual |
Task start notification.
Reimplemented in opendnp3::DefaultMasterApplication.
Definition at line 50 of file IMasterApplication.h.