vibe.rpcchannel.base

Contains data types and functions required by both vibe.rcpchannel.server and vibe.rpcchannel.client.

Protocol related definitions are kept in vibe.rpcchannel.protocol.

Members

Classes

DisconnectedException
class DisconnectedException

Exception thrown if the connection to the remote side was closed.

RPCException
class RPCException

Exception thrown when a RPC error occurs.

Manifest constants

ignoreRPC
enum ignoreRPC;

UDA to ignore a method or event when generating RPC stubs.

Structs

IgnoreUDA
struct IgnoreUDA
Undocumented in source.

Templates

APIEvents
template APIEvents(API)

Returns a string tuple of all event members in API which will be implemented by the RPC server and client.

APIFunctionOverloads
template APIFunctionOverloads(API, string member)

Returns a tuple of overloads for function member in API which will be implemented by the RPC server and client.

APIFunctions
template APIFunctions(API)

Returns a string tuple of all function members in API which will be implemented by the RPC server and client.

APIOverloads
template APIOverloads(API)

Returns a tuple of all overloads for all functions in API which will be implemented by the RPC server and client.

Variables

isEmittable2
enum bool isEmittable2(T);

Checks whether some type is a emittable type of the tinyevent library, i.e. whether Type.init.emit() is working.

isSpecialFunction
enum bool isSpecialFunction(string name);

Checks whether name is the name of a special function which should be IgnoreUDA when generating RPC methods. Ignores startSession, constructors, destructors, toHash and toString.

Meta