QtProtobuf  0.6
Protobuf plugin to generate Qt classes
Public Member Functions | Friends | List of all members
QtProtobuf::QGrpcAsyncReply Class Referencefinal

The QGrpcAsyncReply class contains data for asynchronous call of gRPC client API. More...

#include <qgrpcasyncreply.h>

Inheritance diagram for QtProtobuf::QGrpcAsyncReply:
Inheritance graph
[legend]
Collaboration diagram for QtProtobuf::QGrpcAsyncReply:
Collaboration graph
[legend]

Public Member Functions

void abort ()
 Aborts this reply and try to abort call in channel.
 
template<typename Func1 , typename Func2 >
void subscribe (QObject *receiver, Func1 finishCallback, Func2 errorCallback, Qt::ConnectionType type=Qt::AutoConnection)
 Subscribe to QGrpcAsyncReply signals.
 
template<typename Func1 >
void subscribe (QObject *receiver, Func1 finishCallback, Qt::ConnectionType type=Qt::AutoConnection)
 Overloaded QGrpcAsyncReply::subscribe method, to subscribe to finished signal only.
 

Friends

class QAbstractGrpcClient
 

Detailed Description

The QGrpcAsyncReply class contains data for asynchronous call of gRPC client API.

It's owned by client class, that created it. QGrpcAsyncReply could be used by QAbstractGrpcChannel implementations to control call work flow and abort calls if possible in case if QGrpcAsyncReply::abort method called by library user.


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