register


Description:

public void register (string alias, Type gtype) throws Error

Register a wire alias process-wide.

Maps

alias
to
gtype
for instantiation on decode on this peer. Both ends must register every alias they send or receive; the alias string is the shared wire name —
gtype
is local to this process and need not match the peer's type for the same alias. Per-connection Stream instances still use Stream.names / Stream.name_to_token for JIT property keys on the wire.

Parameters:

alias

wire type name

gtype

GObject type for that alias


Namespace: OLLMrpc.Bin
Package: ollmchat