gRPC  0.6.0
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | List of all members
Grpc\ServerStreamingCall Class Reference
Inheritance diagram for Grpc\ServerStreamingCall:
Grpc\AbstractCall

Public Member Functions

 start ($arg, $metadata=array())
 
 responses ()
 
 getStatus ()
 
- Public Member Functions inherited from Grpc\AbstractCall
 __construct (Channel $channel, $method, $deserialize)
 
 getMetadata ()
 
 cancel ()
 

Additional Inherited Members

- Protected Member Functions inherited from Grpc\AbstractCall
 deserializeResponse ($value)
 
- Protected Attributes inherited from Grpc\AbstractCall
 $call
 
 $deserialize
 
 $metadata
 

Detailed Description

Represents an active call that sends a single message and then gets a stream of reponses

Member Function Documentation

Grpc\ServerStreamingCall::getStatus ( )

Wait for the server to send the status, and return it.

Returns
object The status object, with integer $code, string $details, and array $metadata members
Grpc\ServerStreamingCall::responses ( )
Returns
An iterator of response values
Grpc\ServerStreamingCall::start (   $arg,
  $metadata = array() 
)

Start the call

Parameters
$argThe argument to send
array$metadataMetadata to send with the call, if applicable

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