drmi 0.11.1

D Remote Method Invocation and utilities


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

This package provides sub packages which can be used individually:

drmi:sbin - Simple binary serialization/deserialization

drmi:sfw - Simple FrameWork and utils for async programs

drmi:core - Base functionality

drmi:ssll - Simple Shared Library Loading: minimal boilerplate (see mosquitto.api.rtload)

drmi:mosquitto - Mosquitto lib binding and minimal wrapper

drmi:mqtt - MQTT RMI framework


D Remote Method Invocation

This package provide high level wraps for remote method invocation and MQTT low level transport (drmi:mqtt) as example.

RMICom base interface with one method RMIResponse process(RMICall).

class RMISkeleton(T) : RMICom is server-side wrap, method process must be used in your event loop for dispatch process to real object.

class RMIStub(T) : T is client-side wrap, it's use class RMIStubCom : RMICom for sending messages and get's responses. RMIStubCom has string caller() const @property field for filling caller field in RMICall.

Your interface methods must have paramters and return value serializable with drmi.sbin (simple binary serialize/deserialize).

See example dir.

drmi:mqtt required libmosquitto.

Authors:
Oleg Butko (deviator)
Sub packages:
drmi:sbin, drmi:sfw, drmi:core, drmi:ssll, drmi:mosquitto, drmi:mqtt
Dependencies:
drmi:mqtt, drmi:core, drmi:sbin
Versions:
0.11.1 2017-Oct-06
0.11.0 2017-Oct-06
0.10.4 2017-Sep-12
0.10.3 2017-Sep-07
0.10.2 2017-Sep-06
Show all 31 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 22 downloads total