CallParam


Object Hierarchy:

Object hierarchy for CallParam

Description:

public class CallParam : Object, Serializable

Base class for typed Request.param bags.

Subclass and add GObject properties for each wire field. Daemon param types live in ollmfilesd (FolderParams, FileParams, …).

Example

public class DaemonParams : OLLMrpc.CallParam {
public int protocol { get; set; default = 0; }
public string client { get; set; default = ""; }

public static void rpc_register() {
OLLMrpc.Bin.register("DaemonParams", typeof(DaemonParams));
}
}

var req = new OLLMrpc.Request() {
method = "RPC-Daemon.hello",
param = new DaemonParams() {
protocol = 1,
client = "my-app"
}
};

See also:

Request


Namespace: OLLMrpc
Package: ollmchat

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object