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

Public Member Functions

 __construct (Channel $channel, $method, $deserialize)
 
 getMetadata ()
 
 cancel ()
 

Protected Member Functions

 deserializeResponse ($value)
 

Protected Attributes

 $call
 
 $deserialize
 
 $metadata
 

Constructor & Destructor Documentation

Grpc\AbstractCall::__construct ( Channel  $channel,
  $method,
  $deserialize 
)

Create a new Call wrapper object.

Parameters
Channel$channelThe channel to communicate on
string$methodThe method to call on the remote server

Member Function Documentation

Grpc\AbstractCall::cancel ( )

Cancels the call

Grpc\AbstractCall::deserializeResponse (   $value)
protected

Deserialize a response value to an object.

Parameters
string$valueThe binary value to deserialize
Returns
The deserialized value
Grpc\AbstractCall::getMetadata ( )
Returns
The metadata sent by the server.

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