Built motion from commit 1333b3551.|1.0.38
[motion.git] / server / config / agi / lib / server.js
index fae20f8..21b9ef2 100644 (file)
@@ -1 +1 @@
-var _0x7c27=["\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"];_0x7c27[0];var util=require(_0x7c27[1]);var net=require(_0x7c27[2]);var AGIConnection=require(_0x7c27[3]);var AGIServer=function(_0xbd06x5,_0xbd06x6,_0xbd06x7){var _0xbd06x8=this;this[_0x7c27[4]]= _0xbd06x6|| 4573;this[_0x7c27[5]]= _0xbd06x7|| _0x7c27[6];this[_0x7c27[7]]= _0xbd06x5;this[_0x7c27[8]]= net[_0x7c27[9]]();this[_0x7c27[8]][_0x7c27[13]](_0x7c27[10],this[_0x7c27[12]][_0x7c27[11]](this));this[_0x7c27[8]][_0x7c27[13]](_0x7c27[14],this[_0x7c27[15]][_0x7c27[11]](this));this[_0x7c27[8]][_0x7c27[13]](_0x7c27[16],this[_0x7c27[17]][_0x7c27[11]](this));this[_0x7c27[8]][_0x7c27[13]](_0x7c27[18],this[_0x7c27[19]][_0x7c27[11]](this));process[_0x7c27[21]](function(){_0xbd06x8[_0x7c27[8]][_0x7c27[20]]({port:_0xbd06x8[_0x7c27[4]],host:_0xbd06x8[_0x7c27[5]]})})};AGIServer[_0x7c27[22]][_0x7c27[12]]= function(_0xbd06x9){this[_0x7c27[8]][_0x7c27[24]](this[_0x7c27[23]]);return  new AGIConnection(this[_0x7c27[7]],_0xbd06x9)};AGIServer[_0x7c27[22]][_0x7c27[15]]= function(){console[_0x7c27[26]](_0x7c27[25],this[_0x7c27[5]],this[_0x7c27[4]])};AGIServer[_0x7c27[22]][_0x7c27[17]]= function(_0xbd06xa){console[_0x7c27[16]](util[_0x7c27[28]](_0x7c27[27],this[_0x7c27[5]],this[_0x7c27[4]]),_0xbd06xa)};AGIServer[_0x7c27[22]][_0x7c27[19]]= function(){console[_0x7c27[26]](util[_0x7c27[28]](_0x7c27[29],this[_0x7c27[5]],this[_0x7c27[4]]));this[_0x7c27[8]][_0x7c27[24]](this[_0x7c27[23]])};AGIServer[_0x7c27[22]][_0x7c27[23]]= function(_0xbd06xa,_0xbd06xb){if(_0xbd06xa){console[_0x7c27[16]](_0xbd06xa)}else {console[_0x7c27[26]](util[_0x7c27[28]](_0x7c27[30],_0xbd06xb))}};module[_0x7c27[31]]= AGIServer
\ No newline at end of file
+var _0x2093=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x6E\x65\x74","\x61\x67\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\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","\x53\x65\x72\x76\x65\x72\x20\x63\x6C\x6F\x73\x65\x20\x6F\x6E\x20\x25\x73\x3A\x25\x64","\x69\x6E\x66\x6F","\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","\x53\x65\x72\x76\x65\x72\x20\x72\x75\x6E\x6E\x69\x6E\x67\x20\x6F\x6E\x20\x25\x73\x3A\x25\x64","\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"];_0x2093[0];var util=require(_0x2093[1]);var net=require(_0x2093[2]);var logger=require(_0x2093[4])(_0x2093[3]);var AGIConnection=require(_0x2093[5]);var AGIServer=function(_0xb76bx6,_0xb76bx7,_0xb76bx8){var _0xb76bx9=this;this[_0x2093[6]]= _0xb76bx7|| 4573;this[_0x2093[7]]= _0xb76bx8|| _0x2093[8];this[_0x2093[9]]= _0xb76bx6;this[_0x2093[10]]= net[_0x2093[11]]();this[_0x2093[10]][_0x2093[15]](_0x2093[12],this[_0x2093[14]][_0x2093[13]](this));this[_0x2093[10]][_0x2093[15]](_0x2093[16],this[_0x2093[17]][_0x2093[13]](this));this[_0x2093[10]][_0x2093[15]](_0x2093[18],this[_0x2093[19]][_0x2093[13]](this));this[_0x2093[10]][_0x2093[15]](_0x2093[20],this[_0x2093[21]][_0x2093[13]](this));process[_0x2093[23]](function(){_0xb76bx9[_0x2093[10]][_0x2093[22]]({port:_0xb76bx9[_0x2093[6]],host:_0xb76bx9[_0x2093[7]]})})};AGIServer[_0x2093[24]][_0x2093[14]]= function(_0xb76bxa){this[_0x2093[10]][_0x2093[26]](this[_0x2093[25]]);return  new AGIConnection(this[_0x2093[9]],_0xb76bxa)};AGIServer[_0x2093[24]][_0x2093[17]]= function(){logger[_0x2093[28]](_0x2093[27],this[_0x2093[7]],this[_0x2093[6]])};AGIServer[_0x2093[24]][_0x2093[19]]= function(_0xb76bxb){logger[_0x2093[18]](util[_0x2093[30]](_0x2093[29],this[_0x2093[7]],this[_0x2093[6]]),_0xb76bxb)};AGIServer[_0x2093[24]][_0x2093[21]]= function(){logger[_0x2093[28]](util[_0x2093[30]](_0x2093[31],this[_0x2093[7]],this[_0x2093[6]]));this[_0x2093[10]][_0x2093[26]](this[_0x2093[25]])};AGIServer[_0x2093[24]][_0x2093[25]]= function(_0xb76bxb,_0xb76bxc){if(_0xb76bxb){logger[_0x2093[18]](_0xb76bxb)}else {logger[_0x2093[28]](util[_0x2093[30]](_0x2093[32],_0xb76bxc))}};module[_0x2093[33]]= AGIServer
\ No newline at end of file