Built motion from commit b33b832.|1.0.17
[motion.git] / server / config / agi / lib / server.js
index 1d4d4d0..bb18742 100644 (file)
@@ -1 +1 @@
-var _0xaf35=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x6E\x65\x74","\x2E\x2F\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6C\x69\x73\x74\x65\x6E\x50\x6F\x72\x74","\x6C\x69\x73\x74\x65\x6E\x48\x6F\x73\x74","\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31","\x6D\x61\x70\x70\x65\x72","\x74\x63\x70\x53\x65\x72\x76\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x65\x72\x76\x65\x72","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x62\x69\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x68\x61\x6E\x64\x6C\x65\x43\x6C\x6F\x73\x65","\x65\x72\x72\x6F\x72","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x6C\x69\x73\x74\x65\x6E\x69\x6E\x67","\x68\x61\x6E\x64\x6C\x65\x4C\x69\x73\x74\x65\x6E\x69\x6E\x67","\x6C\x69\x73\x74\x65\x6E","\x6E\x65\x78\x74\x54\x69\x63\x6B","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x67\x65\x74\x41\x63\x74\x69\x76\x65\x43\x68\x61\x6E\x6E\x65\x6C\x73","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x73","\x5B\x41\x47\x49\x5D\x20\x53\x65\x72\x76\x65\x72\x20\x63\x6C\x6F\x73\x65\x20\x6F\x6E\x20\x25\x73\x3A\x25\x64","\x6C\x6F\x67","\x5B\x41\x47\x49\x5D\x20\x45\x72\x72\x6F\x72\x20\x6F\x6E\x20\x73\x65\x72\x76\x65\x72\x20\x72\x75\x6E\x6E\x69\x6E\x67\x20\x6F\x6E\x20\x25\x73\x3A\x25\x64","\x66\x6F\x72\x6D\x61\x74","\x5B\x41\x47\x49\x5D\x20\x53\x65\x72\x76\x65\x72\x20\x72\x75\x6E\x6E\x69\x6E\x67\x20\x6F\x6E\x20\x25\x73\x3A\x25\x64","\x5B\x41\x47\x49\x5D\x20\x25\x64\x20\x61\x63\x74\x69\x76\x65\x20\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xaf35[0];var util=require(_0xaf35[1]);var net=require(_0xaf35[2]);var AGIConnection=require(_0xaf35[3]);var AGIServer=function(_0xb431x5,_0xb431x6,_0xb431x7){var _0xb431x8=this;this[_0xaf35[4]]= _0xb431x6|| 4573;this[_0xaf35[5]]= _0xb431x7|| _0xaf35[6];this[_0xaf35[7]]= _0xb431x5;this[_0xaf35[8]]= net[_0xaf35[9]]();this[_0xaf35[8]][_0xaf35[13]](_0xaf35[10],this[_0xaf35[12]][_0xaf35[11]](this));this[_0xaf35[8]][_0xaf35[13]](_0xaf35[14],this[_0xaf35[15]][_0xaf35[11]](this));this[_0xaf35[8]][_0xaf35[13]](_0xaf35[16],this[_0xaf35[17]][_0xaf35[11]](this));this[_0xaf35[8]][_0xaf35[13]](_0xaf35[18],this[_0xaf35[19]][_0xaf35[11]](this));process[_0xaf35[21]](function(){_0xb431x8[_0xaf35[8]][_0xaf35[20]]({port:_0xb431x8[_0xaf35[4]],host:_0xb431x8[_0xaf35[5]]})})};AGIServer[_0xaf35[22]][_0xaf35[12]]= function(_0xb431x9){this[_0xaf35[8]][_0xaf35[24]](this[_0xaf35[23]]);return  new AGIConnection(this[_0xaf35[7]],_0xb431x9)};AGIServer[_0xaf35[22]][_0xaf35[15]]= function(){console[_0xaf35[26]](_0xaf35[25],this[_0xaf35[5]],this[_0xaf35[4]])};AGIServer[_0xaf35[22]][_0xaf35[17]]= function(_0xb431xa){console[_0xaf35[16]](util[_0xaf35[28]](_0xaf35[27],this[_0xaf35[5]],this[_0xaf35[4]]),_0xb431xa)};AGIServer[_0xaf35[22]][_0xaf35[19]]= function(){console[_0xaf35[26]](util[_0xaf35[28]](_0xaf35[29],this[_0xaf35[5]],this[_0xaf35[4]]));this[_0xaf35[8]][_0xaf35[24]](this[_0xaf35[23]])};AGIServer[_0xaf35[22]][_0xaf35[23]]= function(_0xb431xa,_0xb431xb){if(_0xb431xa){console[_0xaf35[16]](_0xb431xa)}else {console[_0xaf35[26]](util[_0xaf35[28]](_0xaf35[30],_0xb431xb))}};module[_0xaf35[31]]= AGIServer
\ No newline at end of file
+var _0x47c2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x6E\x65\x74","\x2E\x2F\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6C\x69\x73\x74\x65\x6E\x50\x6F\x72\x74","\x6C\x69\x73\x74\x65\x6E\x48\x6F\x73\x74","\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31","\x6D\x61\x70\x70\x65\x72","\x74\x63\x70\x53\x65\x72\x76\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x65\x72\x76\x65\x72","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x62\x69\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x68\x61\x6E\x64\x6C\x65\x43\x6C\x6F\x73\x65","\x65\x72\x72\x6F\x72","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x6C\x69\x73\x74\x65\x6E\x69\x6E\x67","\x68\x61\x6E\x64\x6C\x65\x4C\x69\x73\x74\x65\x6E\x69\x6E\x67","\x6C\x69\x73\x74\x65\x6E","\x6E\x65\x78\x74\x54\x69\x63\x6B","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x67\x65\x74\x41\x63\x74\x69\x76\x65\x43\x68\x61\x6E\x6E\x65\x6C\x73","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x73","\x5B\x41\x47\x49\x5D\x20\x53\x65\x72\x76\x65\x72\x20\x63\x6C\x6F\x73\x65\x20\x6F\x6E\x20\x25\x73\x3A\x25\x64","\x6C\x6F\x67","\x5B\x41\x47\x49\x5D\x20\x45\x72\x72\x6F\x72\x20\x6F\x6E\x20\x73\x65\x72\x76\x65\x72\x20\x72\x75\x6E\x6E\x69\x6E\x67\x20\x6F\x6E\x20\x25\x73\x3A\x25\x64","\x66\x6F\x72\x6D\x61\x74","\x5B\x41\x47\x49\x5D\x20\x53\x65\x72\x76\x65\x72\x20\x72\x75\x6E\x6E\x69\x6E\x67\x20\x6F\x6E\x20\x25\x73\x3A\x25\x64","\x5B\x41\x47\x49\x5D\x20\x25\x64\x20\x61\x63\x74\x69\x76\x65\x20\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x47c2[0];var util=require(_0x47c2[1]);var net=require(_0x47c2[2]);var AGIConnection=require(_0x47c2[3]);var AGIServer=function(_0x1f86x5,_0x1f86x6,_0x1f86x7){var _0x1f86x8=this;this[_0x47c2[4]]= _0x1f86x6|| 4573;this[_0x47c2[5]]= _0x1f86x7|| _0x47c2[6];this[_0x47c2[7]]= _0x1f86x5;this[_0x47c2[8]]= net[_0x47c2[9]]();this[_0x47c2[8]][_0x47c2[13]](_0x47c2[10],this[_0x47c2[12]][_0x47c2[11]](this));this[_0x47c2[8]][_0x47c2[13]](_0x47c2[14],this[_0x47c2[15]][_0x47c2[11]](this));this[_0x47c2[8]][_0x47c2[13]](_0x47c2[16],this[_0x47c2[17]][_0x47c2[11]](this));this[_0x47c2[8]][_0x47c2[13]](_0x47c2[18],this[_0x47c2[19]][_0x47c2[11]](this));process[_0x47c2[21]](function(){_0x1f86x8[_0x47c2[8]][_0x47c2[20]]({port:_0x1f86x8[_0x47c2[4]],host:_0x1f86x8[_0x47c2[5]]})})};AGIServer[_0x47c2[22]][_0x47c2[12]]= function(_0x1f86x9){this[_0x47c2[8]][_0x47c2[24]](this[_0x47c2[23]]);return  new AGIConnection(this[_0x47c2[7]],_0x1f86x9)};AGIServer[_0x47c2[22]][_0x47c2[15]]= function(){console[_0x47c2[26]](_0x47c2[25],this[_0x47c2[5]],this[_0x47c2[4]])};AGIServer[_0x47c2[22]][_0x47c2[17]]= function(_0x1f86xa){console[_0x47c2[16]](util[_0x47c2[28]](_0x47c2[27],this[_0x47c2[5]],this[_0x47c2[4]]),_0x1f86xa)};AGIServer[_0x47c2[22]][_0x47c2[19]]= function(){console[_0x47c2[26]](util[_0x47c2[28]](_0x47c2[29],this[_0x47c2[5]],this[_0x47c2[4]]));this[_0x47c2[8]][_0x47c2[24]](this[_0x47c2[23]])};AGIServer[_0x47c2[22]][_0x47c2[23]]= function(_0x1f86xa,_0x1f86xb){if(_0x1f86xa){console[_0x47c2[16]](_0x1f86xa)}else {console[_0x47c2[26]](util[_0x47c2[28]](_0x47c2[30],_0x1f86xb))}};module[_0x47c2[31]]= AGIServer
\ No newline at end of file