ArnLib  4.0.x
Active Registry Network
ArnRpcMode Class Reference

#include <ArnRpc.hpp>

Public Types

enum  E {
  Provider = 0x0001, AutoDestroy = 0x0002, UuidPipe = 0x0004, NoDefaultArgs = 0x0008,
  SendSequence = 0x0010, CheckSequence = 0x0020, OnlyPosArgIn = 0x0040, NamedArg = 0x0080,
  NamedTypedArg = 0x0100, UseDefaultCall = 0x0200, Debug = 0x8000, UuidAutoDestroy = UuidPipe | AutoDestroy,
  AnyNamedArg = NamedArg | NamedTypedArg
}
 

Detailed Description

Examples:
ArnDemoChatServer/MainWindow.cpp.

Definition at line 85 of file ArnRpc.hpp.

Member Enumeration Documentation

◆ E

Enumerator
Provider 

Provider side (opposed to requester)

AutoDestroy 

Use AutoDestroy for the pipe, i.e. it is closed when tcp/ip is broken.

UuidPipe 

Use an unique uuid in the pipe name.

NoDefaultArgs 

If guarantied no default arguments, full member name overload is ok.

SendSequence 

Send sequence order information to pipe.

CheckSequence 

Check sequence order information from pipe. Can generate signal outOfSequence().

OnlyPosArgIn 

Only allow calling in with positional argument (typed)

NamedArg 

When calling out, uses named argument e.g "myFunc count=123".

NamedTypedArg 

When calling out, uses named argument with type e.g "myFunc count:int=123".

UseDefaultCall 

When receiver method missing, send defaultCall() signal instead of error.

Debug 

Debug mode, dumping info for the batch connections.

UuidAutoDestroy 

Convenience, combined UuidPipe and AutoDestroy

AnyNamedArg 

Convenience, combined NamedArg and NamedTypedArg

Definition at line 89 of file ArnRpc.hpp.


The documentation for this class was generated from the following file: