drmi 0.15.0
D Remote Method Invocation and utilities
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
This package provides sub packages which can be used individually:
drmi:sfw - Simple FrameWork and utils for async programs
drmi:core - Base functionality
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
.
- Registered by Oleg
- 0.15.0 released 5 years ago
- deviator/drmi
- MIT
- Copyright © 2017 Oleg Butko
- Authors:
- Sub packages:
- drmi:sfw, drmi:core, drmi:mqtt
- Dependencies:
- drmi:mqtt, drmi:core
- Versions:
-
0.15.0 2019-Sep-09 0.14.0 2018-Dec-03 0.13.0 2018-May-03 0.12.1 2018-Feb-26 0.12.0 2017-Nov-14 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
5728 downloads total
-
- Score:
- 1.0
- Short URL:
- drmi.dub.pm