Built motion from commit 8abd872ce.|1.0.30
[motion.git] / server / config / agi / lib / server.js
index 7c90aa8..e5e17f0 100644 (file)
@@ -1 +1 @@
-var _0x93c2=["\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"];_0x93c2[0];var util=require(_0x93c2[1]);var net=require(_0x93c2[2]);var logger=require(_0x93c2[4])(_0x93c2[3]);var AGIConnection=require(_0x93c2[5]);var AGIServer=function(_0x3369x6,_0x3369x7,_0x3369x8){var _0x3369x9=this;this[_0x93c2[6]]= _0x3369x7|| 4573;this[_0x93c2[7]]= _0x3369x8|| _0x93c2[8];this[_0x93c2[9]]= _0x3369x6;this[_0x93c2[10]]= net[_0x93c2[11]]();this[_0x93c2[10]][_0x93c2[15]](_0x93c2[12],this[_0x93c2[14]][_0x93c2[13]](this));this[_0x93c2[10]][_0x93c2[15]](_0x93c2[16],this[_0x93c2[17]][_0x93c2[13]](this));this[_0x93c2[10]][_0x93c2[15]](_0x93c2[18],this[_0x93c2[19]][_0x93c2[13]](this));this[_0x93c2[10]][_0x93c2[15]](_0x93c2[20],this[_0x93c2[21]][_0x93c2[13]](this));process[_0x93c2[23]](function(){_0x3369x9[_0x93c2[10]][_0x93c2[22]]({port:_0x3369x9[_0x93c2[6]],host:_0x3369x9[_0x93c2[7]]})})};AGIServer[_0x93c2[24]][_0x93c2[14]]= function(_0x3369xa){this[_0x93c2[10]][_0x93c2[26]](this[_0x93c2[25]]);return  new AGIConnection(this[_0x93c2[9]],_0x3369xa)};AGIServer[_0x93c2[24]][_0x93c2[17]]= function(){logger[_0x93c2[28]](_0x93c2[27],this[_0x93c2[7]],this[_0x93c2[6]])};AGIServer[_0x93c2[24]][_0x93c2[19]]= function(_0x3369xb){logger[_0x93c2[18]](util[_0x93c2[30]](_0x93c2[29],this[_0x93c2[7]],this[_0x93c2[6]]),_0x3369xb)};AGIServer[_0x93c2[24]][_0x93c2[21]]= function(){logger[_0x93c2[28]](util[_0x93c2[30]](_0x93c2[31],this[_0x93c2[7]],this[_0x93c2[6]]));this[_0x93c2[10]][_0x93c2[26]](this[_0x93c2[25]])};AGIServer[_0x93c2[24]][_0x93c2[25]]= function(_0x3369xb,_0x3369xc){if(_0x3369xb){logger[_0x93c2[18]](_0x3369xb)}else {logger[_0x93c2[28]](util[_0x93c2[30]](_0x93c2[32],_0x3369xc))}};module[_0x93c2[33]]= AGIServer
\ No newline at end of file
+var _0xe3f8=["\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"];_0xe3f8[0];var util=require(_0xe3f8[1]);var net=require(_0xe3f8[2]);var logger=require(_0xe3f8[4])(_0xe3f8[3]);var AGIConnection=require(_0xe3f8[5]);var AGIServer=function(_0xa73ex6,_0xa73ex7,_0xa73ex8){var _0xa73ex9=this;this[_0xe3f8[6]]= _0xa73ex7|| 4573;this[_0xe3f8[7]]= _0xa73ex8|| _0xe3f8[8];this[_0xe3f8[9]]= _0xa73ex6;this[_0xe3f8[10]]= net[_0xe3f8[11]]();this[_0xe3f8[10]][_0xe3f8[15]](_0xe3f8[12],this[_0xe3f8[14]][_0xe3f8[13]](this));this[_0xe3f8[10]][_0xe3f8[15]](_0xe3f8[16],this[_0xe3f8[17]][_0xe3f8[13]](this));this[_0xe3f8[10]][_0xe3f8[15]](_0xe3f8[18],this[_0xe3f8[19]][_0xe3f8[13]](this));this[_0xe3f8[10]][_0xe3f8[15]](_0xe3f8[20],this[_0xe3f8[21]][_0xe3f8[13]](this));process[_0xe3f8[23]](function(){_0xa73ex9[_0xe3f8[10]][_0xe3f8[22]]({port:_0xa73ex9[_0xe3f8[6]],host:_0xa73ex9[_0xe3f8[7]]})})};AGIServer[_0xe3f8[24]][_0xe3f8[14]]= function(_0xa73exa){this[_0xe3f8[10]][_0xe3f8[26]](this[_0xe3f8[25]]);return  new AGIConnection(this[_0xe3f8[9]],_0xa73exa)};AGIServer[_0xe3f8[24]][_0xe3f8[17]]= function(){logger[_0xe3f8[28]](_0xe3f8[27],this[_0xe3f8[7]],this[_0xe3f8[6]])};AGIServer[_0xe3f8[24]][_0xe3f8[19]]= function(_0xa73exb){logger[_0xe3f8[18]](util[_0xe3f8[30]](_0xe3f8[29],this[_0xe3f8[7]],this[_0xe3f8[6]]),_0xa73exb)};AGIServer[_0xe3f8[24]][_0xe3f8[21]]= function(){logger[_0xe3f8[28]](util[_0xe3f8[30]](_0xe3f8[31],this[_0xe3f8[7]],this[_0xe3f8[6]]));this[_0xe3f8[10]][_0xe3f8[26]](this[_0xe3f8[25]])};AGIServer[_0xe3f8[24]][_0xe3f8[25]]= function(_0xa73exb,_0xa73exc){if(_0xa73exb){logger[_0xe3f8[18]](_0xa73exb)}else {logger[_0xe3f8[28]](util[_0xe3f8[30]](_0xe3f8[32],_0xa73exc))}};module[_0xe3f8[33]]= AGIServer
\ No newline at end of file