X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=authserver%2Flib%2FauthClient.php;h=81143ae8aefefcac7f46ab49f90c4902f661f078;hp=4f398ac767409a384e139f1503b2b47b481c6f48;hb=808806f654048ed8bf050f63cdacbc0670a27c50;hpb=f10680a1827dd8e4c65eaaef810ee7fd498e5a1e diff --git a/authserver/lib/authClient.php b/authserver/lib/authClient.php index 4f398ac..81143ae 100644 --- a/authserver/lib/authClient.php +++ b/authserver/lib/authClient.php @@ -71,28 +71,6 @@ class GAAuthClient { return $component["data"]; } - function sendReceiveIPC($message_type, $message) { - global $MSG_QUEUE_KEY_ID_SERVER, $MSG_QUEUE_KEY_ID_CLIENT; - - - if(!msg_queue_exists($MSG_QUEUE_KEY_ID_SERVER)) { - return false; - } - - if(!msg_queue_exists($MSG_QUEUE_KEY_ID_CLIENT)) { - return false; - } - // TODO we need to setup a client queue sem lock here - - $cl_queue = msg_get_queue($MSG_QUEUE_KEY_ID_CLIENT); - $sr_queue = msg_get_queue($MSG_QUEUE_KEY_ID_SERVER); - - msg_send($sr_queue, $message_type, $message, true, true, $msg_err); - msg_receive($cl_queue, 0, $msg_type, 131072, $msg); - - return $msg; - } - function addRadiusClient($clientname, $clientip, $clientsecret, $clientdesc) { $message["clientname"] = $clientname;