DSL

class xrpc.dsl.RPCType[source]

The calling convention of the RPC point

Durable = 2

we only make sure the packet is received and do not wait for reply (UNDECIDED-RECEIVED)

Repliable = 1

Reply is expected from the receiver (OK-RECEIVED) Beware this does dead-lock services when they both try to send a repliable request at the same time to each other

Signalling = 3

we don’t care if the packet is received (UNDECIDED-UNDECIDED)

class xrpc.dsl.regular(initial, tick)[source]
initial

Initial wait time in seconds

tick

Run this function on every tick (this should affect the wait times)

class xrpc.dsl.rpc(type, group, exc)[source]
exc

If an exception is raised while processing the packet from the transport, run this one

group

Alias for field number 1

type

Selected calling convention for the RPC call

class xrpc.dsl.signal(codes)[source]
codes

Connect to this signal number

class xrpc.dsl.startup(empty)[source]
empty

Alias for field number 0