WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
CallResult Struct Reference

関数呼び出しの応答2 (client(receiver)->server->client(caller)) More...

#include <webcface/common/internal/message/func.h>

Inheritance diagram for CallResult:
[legend]
Collaboration diagram for CallResult:
[legend]

Public Attributes

std::size_t caller_id
 
unsigned int caller_member_id
 
bool is_error
 
ValAdaptor result
 

Static Public Attributes

static constexpr int kind
 

Detailed Description

関数呼び出しの応答2 (client(receiver)->server->client(caller))

clientはcalled_id,caller_member_idと、関数の実行結果を返す

resultに結果を文字列または数値または真偽値で返す

  • 結果が無い場合は "" を返す
  • 例外が発生した場合はis_errorをtrueにしresultに例外の内容を文字列で入れて返す

serverはそれをそのままcallerに送る

Member Data Documentation

◆ caller_id

std::size_t caller_id

◆ caller_member_id

unsigned int caller_member_id

◆ is_error

bool is_error

◆ kind

constexpr int kind
staticconstexprinherited

◆ result

ValAdaptor result

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