aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot/ZotHandler.php
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2016-01-03 09:52:37 +0100
committermrjive <mrjive@mrjive.it>2016-01-03 09:52:37 +0100
commit07f5bdde60f55e3b217aee9e33c3175e90a5f0f1 (patch)
tree2b5988c7661c9a5a67f5da8797ca57381e2aad7a /Zotlabs/Zot/ZotHandler.php
parent051346325609f5f2e78ef0deaf182c65d7823bbc (diff)
parent5b0a17359d6b5b3e27219c9e56117f1017996175 (diff)
downloadvolse-hubzilla-07f5bdde60f55e3b217aee9e33c3175e90a5f0f1.tar.gz
volse-hubzilla-07f5bdde60f55e3b217aee9e33c3175e90a5f0f1.tar.bz2
volse-hubzilla-07f5bdde60f55e3b217aee9e33c3175e90a5f0f1.zip
Merge pull request #10 from redmatrix/master
updating from original codebase
Diffstat (limited to 'Zotlabs/Zot/ZotHandler.php')
-rw-r--r--Zotlabs/Zot/ZotHandler.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/Zotlabs/Zot/ZotHandler.php b/Zotlabs/Zot/ZotHandler.php
new file mode 100644
index 000000000..f9bb05410
--- /dev/null
+++ b/Zotlabs/Zot/ZotHandler.php
@@ -0,0 +1,38 @@
+<?php
+
+namespace Zotlabs\Zot;
+
+require_once('Zotlabs/Zot/IHandler.php');
+
+
+class ZotHandler implements IHandler {
+
+ function Ping() {
+ zot_reply_ping();
+ }
+
+ function Pickup($data) {
+ zot_reply_pickup($data);
+ }
+
+ function Notify($data) {
+ zot_reply_notify($data);
+ }
+
+ function Request($data) {
+ zot_reply_message_request($data);
+ }
+
+ function AuthCheck($data,$encrypted) {
+ zot_reply_auth_check($data,$encrypted);
+ }
+
+ function Purge($sender,$recipients) {
+ zot_reply_purge($sender,$recipients);
+ }
+
+ function Refresh($sender,$recipients) {
+ zot_reply_refresh($sender,$recipients);
+ }
+
+}