Beispiel #1
0
 /**
  * @param ActivityPollRequest $request
  * @return ActivityTask
  */
 public function pollForActivityTask(ActivityPollRequest $request)
 {
     $result = new ActivityTask();
     $awsResult = $this->swfClient->pollForActivityTask($request->convertToArray());
     $result->initFromArray($awsResult);
     return $result;
 }
 public function pollForActivityTask(array $args = array())
 {
     return $this->client->pollForActivityTask($args);
 }