Ffi


Object Hierarchy:

Object hierarchy for Ffi

Description:

public class Ffi : Object

Call listed RPC instance methods via libffi.

Request.add_class records the method table. Request.dispatch constructs Ffi with the inbound Request and calls dispatch. That method calls Request.rows.get (Request.slot ).fn. Unlisted prefixes return false so Request.dispatch can try Gi. Compiled on every platform (not gi_src).

pack writes one Libffi.Arg from a D-Bus letter and a GLib.Value. S is one wire string[] and two C args (pointer + Vala hidden length). Gi will extend Ffi and use pack for typelib scalars in a later cut.

Example

OLLMrpc.Request.add_class(
"RPC-Daemon", typeof(Daemon), "hello", "is"
);
var ffi = new OLLMrpc.Ffi(req);
ffi.dispatch();


Namespace: OLLMrpc
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object