opendnp3
3.1.0
Reference implementation of DNP3 (IEEE-1815)
|
#include <opendnp3/master/DefaultMasterApplication.h>
Public Member Functions | |
DefaultMasterApplication () | |
virtual bool | AssignClassDuringStartup () final |
virtual void | ConfigureAssignClassRequest (const WriteHeaderFunT &fun) final |
Configure the request headers for assign class. More... | |
virtual UTCTimestamp | Now () final |
Returns a UTCTimestamp of the current time. More... | |
virtual void | OnReceiveIIN (const IINField &iin) final |
Called when a response or unsolicited response is receive from the outstation. More... | |
virtual void | OnStateChange (LinkStatus value) final |
Called when a the reset/unreset status of the link layer changes. More... | |
virtual void | OnTaskComplete (const TaskInfo &info) final |
Task completion notification. More... | |
virtual void | OnTaskStart (MasterTaskType type, TaskId id) final |
Task start notification. More... | |
Public Member Functions inherited from opendnp3::IMasterApplication | |
virtual | ~IMasterApplication () |
virtual void | OnClose () |
Called when the application layer is closed. More... | |
virtual void | OnOpen () |
Called when the application layer is opened. 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 | 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... | |
Static Public Member Functions | |
static std::shared_ptr< IMasterApplication > | Create () |
Definition at line 30 of file DefaultMasterApplication.h.
|
inline |
Definition at line 33 of file DefaultMasterApplication.h.
|
inlinefinalvirtual |
Reimplemented from opendnp3::IMasterApplication.
Definition at line 46 of file DefaultMasterApplication.h.
|
inlinefinalvirtual |
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 from opendnp3::IMasterApplication.
Definition at line 51 of file DefaultMasterApplication.h.
|
inlinestatic |
Definition at line 35 of file DefaultMasterApplication.h.
|
finalvirtual |
Returns a UTCTimestamp of the current time.
Implements opendnp3::IUTCTimeSource.
|
inlinefinalvirtual |
Called when a response or unsolicited response is receive from the outstation.
Reimplemented from opendnp3::IMasterApplication.
Definition at line 40 of file DefaultMasterApplication.h.
|
inlinefinalvirtual |
Called when a the reset/unreset status of the link layer changes.
Reimplemented from opendnp3::ILinkListener.
Definition at line 55 of file DefaultMasterApplication.h.
|
inlinefinalvirtual |
Task completion notification.
Reimplemented from opendnp3::IMasterApplication.
Definition at line 44 of file DefaultMasterApplication.h.
|
inlinefinalvirtual |
Task start notification.
Reimplemented from opendnp3::IMasterApplication.
Definition at line 42 of file DefaultMasterApplication.h.