The QGrpcSubscription class.
More...
#include <qgrpcsubscription.h>
|
|
void | updated () |
| | The signal is emitted when subscription received updated value from server.
|
| |
|
|
void | cancel () |
| | Cancels this subscription and try to abort call in channel.
|
| |
|
QString | method () const |
| | Returns method for this subscription.
|
| |
|
QByteArray | arg () const |
| | Returns serialized arguments for this subscription.
|
| |
| void | handler (const QByteArray &data) |
| | Invokes handler method assigned to this subscription. More...
|
| |
|
|
class | QAbstractGrpcClient |
| |
◆ handler()
| void QtProtobuf::QGrpcSubscription::handler |
( |
const QByteArray & |
data | ) |
|
|
inline |
Invokes handler method assigned to this subscription.
- Parameters
-
| data | updated subscription data buffer |
Should be used by QAbstractGrpcChannel implementations, to update data in subscription and notify clients about subscription updates.
The documentation for this class was generated from the following files:
- /home/semlanik/Projects/qtprotobuf/src/grpc/qgrpcsubscription.h
- /home/semlanik/Projects/qtprotobuf/src/grpc/qgrpcsubscription.cpp