IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QGrpcStream Class

The QGrpcStream class implements logic to handle stream communication in the Grpc channel.

This class was introduced in Qt 6.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QGrpcStream Class

  • Header: QGrpcStream

  • Since: Qt 6.5

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Grpc)

    target_link_libraries(mytarget PRIVATE Qt6::Grpc)

  • Inherits: QGrpcOperation

Detailed Description

 

Member Function Documentation

 

[override virtual] QGrpcStream::~QGrpcStream()

Destroys the QGrpcStream object.

[override virtual] void QGrpcStream::abort()

Cancel this stream and try to abort any call active on any channel in the stream.

QByteArrayView QGrpcStream::arg() const

Returns serialized arguments for this stream.

void QGrpcStream::handler(const QByteArray &data)

Invokes all handler methods assigned to this stream with data.

Should be used by QAbstractGrpcChannel implementations, to update data in a stream and notify clients about stream updates.

void QGrpcStream::messageReceived()

The signal is emitted when the stream receives an updated value from server.

QLatin1StringView QGrpcStream::method() const

Returns the method for this stream.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+