summaryrefslogtreecommitdiff
path: root/example/example.php
diff options
context:
space:
mode:
Diffstat (limited to 'example/example.php')
-rw-r--r--example/example.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/example/example.php b/example/example.php
deleted file mode 100644
index 8251705..0000000
--- a/example/example.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-require_once 'vendor/autoload.php';
-
-ini_set('display_errors', 1);
-error_reporting(E_ALL);
-
-try {
- // connecting to jobd
- $client = new jobd\Client(jobd\Client::MASTER_PORT);
-
- // asking master to ask workers responsible for server1 to poll new jobs
- $resp = $client->poke(['server1']);
- var_dump($resp);
-} catch (Exception $e) {
- die("error: ".$e->getMessage());
-}
-
-// closing connection
-$client->close();