Switched events to use native objects instead of wrappers
Change on 2015/01/02 by mlumish <mlumish@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83146045
diff --git a/src/php/lib/Grpc/ActiveCall.php b/src/php/lib/Grpc/ActiveCall.php
index 63877e3..fb307c7 100755
--- a/src/php/lib/Grpc/ActiveCall.php
+++ b/src/php/lib/Grpc/ActiveCall.php
@@ -35,7 +35,7 @@
Timeval::inf_future());
$metadata_event = $this->completion_queue->pluck(CLIENT_METADATA_READ,
Timeval::inf_future());
- $this->metadata = $metadata_event->get_data();
+ $this->metadata = $metadata_event->data;
}
/**
@@ -59,7 +59,7 @@
public function read() {
$this->call->start_read(READ);
$read_event = $this->completion_queue->pluck(READ, Timeval::inf_future());
- return $read_event->get_data();
+ return $read_event->data;
}
/**
@@ -93,6 +93,6 @@
public function getStatus() {
$status_event = $this->completion_queue->pluck(FINISHED,
Timeval::inf_future());
- return $status_event->get_data();
+ return $status_event->data;
}
}
\ No newline at end of file