The Wayback Machine - http://web.archive.org/web/20200909074731/https://github.com/deviator/drmi
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Feb 26, 2018
May 3, 2018
Jun 13, 2017
May 3, 2018

README.md

D Remote Method Invocation

Build Status (Posix only)

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.

You can’t perform that action at this time.