    

 ## On this page

  

 

 # EnSightSubscription

 Last update: 16.07.2025 

Client-side, reverse gRPC service. [More...](#details)

## <a id="func-members" name="func-members"></a>Functions

rpc [ensightservice::EnSightSubscription::PublishImage](group___en_sight_subscription.xhtml#ga052334cb4098295f08b649151eb24320) (stream [ImageReply](structensightservice_1_1_image_reply.xhtml)) returns([GenericResponse](structensightservice_1_1_generic_response.xhtml)) rpc [ensightservice::EnSightSubscription::PublishEvent](group___en_sight_subscription.xhtml#gaaded4bebe805118acaa44365183c2586) ([EventReply](structensightservice_1_1_event_reply.xhtml) eventreply) returns([GenericResponse](structensightservice_1_1_generic_response.xhtml)) <a id="details" name="details"></a>## Detailed Description

Client-side, reverse gRPC service.

Definition of the client-side, reverse gRPC service that EnSight will connect to in response to a stream subscription request.

## Function Documentation

<a id="gaaded4bebe805118acaa44365183c2586"></a>## [◆ ](#gaaded4bebe805118acaa44365183c2586)PublishEvent()

 rpc ensightservice::EnSightSubscription::PublishEvent  ( [EventReply](structensightservice_1_1_event_reply.xhtml)  *eventreply*) 

Publish an event to the remote server

Returns[GenericResponse](structensightservice_1_1_generic_response.xhtml)Definition at line [140](ensight_8proto_source.xhtml#l00140) of file [ensight.proto](ensight_8proto_source.xhtml).





<a id="ga052334cb4098295f08b649151eb24320"></a>## [◆ ](#ga052334cb4098295f08b649151eb24320)PublishImage()

 rpc ensightservice::EnSightSubscription::PublishImage  ( stream  *ImageReply*) 

Publish a single image (possibly in chucks) to the remote server

Parameters [ImageReply](structensightservice_1_1_image_reply.xhtml "An image frame message.")The stream of [ImageReply](structensightservice_1_1_image_reply.xhtml "An image frame message.") objects Returns[GenericResponse](structensightservice_1_1_generic_response.xhtml)Definition at line [136](ensight_8proto_source.xhtml#l00136) of file [ensight.proto](ensight_8proto_source.xhtml).