Software /
code /
prosody
Comparison
net/server_select.lua @ 4808:07d0a3a75c8a
net.server, net.timer, net.server_select: Rearrange dependencies between these three modules. server.addtimer() is no longer a public function (renamed to _addtimer) and is not available at all from server_event (compat code removed to prevent traceback) (thanks Nulani)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 03 May 2012 16:48:34 +0100 |
parent | 4675:80f2d952d4c5 |
child | 4888:c3e17766aead |
comparison
equal
deleted
inserted
replaced
4807:2999f0fd1347 | 4808:07d0a3a75c8a |
---|---|
73 | 73 |
74 local id | 74 local id |
75 local loop | 75 local loop |
76 local stats | 76 local stats |
77 local idfalse | 77 local idfalse |
78 local addtimer | |
79 local closeall | 78 local closeall |
80 local addsocket | 79 local addsocket |
81 local addserver | 80 local addserver |
82 local getserver | 81 local getserver |
83 local wrapserver | 82 local wrapserver |
919 end | 918 end |
920 | 919 |
921 ----------------------------------// PUBLIC INTERFACE //-- | 920 ----------------------------------// PUBLIC INTERFACE //-- |
922 | 921 |
923 return { | 922 return { |
923 _addtimer = addtimer, | |
924 | 924 |
925 addclient = addclient, | 925 addclient = addclient, |
926 wrapclient = wrapclient, | 926 wrapclient = wrapclient, |
927 | 927 |
928 loop = loop, | 928 loop = loop, |
929 link = link, | 929 link = link, |
930 step = step, | 930 step = step, |
931 stats = stats, | 931 stats = stats, |
932 closeall = closeall, | 932 closeall = closeall, |
933 addtimer = addtimer, | |
934 addserver = addserver, | 933 addserver = addserver, |
935 getserver = getserver, | 934 getserver = getserver, |
936 setlogger = setlogger, | 935 setlogger = setlogger, |
937 getsettings = getsettings, | 936 getsettings = getsettings, |
938 setquitting = setquitting, | 937 setquitting = setquitting, |