#110 Primary Host: Connect, publish state, subscribe

accepted
sub-task (2)
2021-01-10
2021-01-09
i-campbell
No

Create an FB_PrimaryHost.

It should connect (with last will state).

It should disconnect.

It should subscribe to:
namespace/+/NBIRTH/+
namespace/+/NDEATH/+
namespace/+/DBIRTH/#
namespace/+/DDEATH/#
namespace/+/NDATA/+
namespace/+/DDATA/#
namespace/+/NCMD/+
namespace/+/DCMD/#
STATE/+

it should provide the following methods, which will be used to handle the payloads:
onNBIRTH()
onNDEATH()
onDBIRTH()
onDDEATH()
onNDATA()
onDDATA()
onNCMD()
onDCMD()
onSTATE()

it should publish STATE.

Discussion

  • h-hermsen

    h-hermsen - 2021-01-10
    • status: open --> accepted
     
  • h-hermsen

    h-hermsen - 2021-01-10

    It has at least 1 publisher and has at least 9 subscribers. The StateMachine resembles the EoN somewhat.

    Furthermore we will build a way to publish REBIRTH NCMD's which is not mentioned in this ticket!

     

    Last edit: h-hermsen 2021-01-10

Log in to post a comment.