Built motion from commit d3260923e.|1.0.29
[motion.git] / server / config / agi / lib / server.js
index 4482a80..081abd0 100644 (file)
@@ -1 +1 @@
-var _0x8c60=["\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"];_0x8c60[0];var util=require(_0x8c60[1]);var net=require(_0x8c60[2]);var logger=require(_0x8c60[4])(_0x8c60[3]);var AGIConnection=require(_0x8c60[5]);var AGIServer=function(_0x4a5ex6,_0x4a5ex7,_0x4a5ex8){var _0x4a5ex9=this;this[_0x8c60[6]]= _0x4a5ex7|| 4573;this[_0x8c60[7]]= _0x4a5ex8|| _0x8c60[8];this[_0x8c60[9]]= _0x4a5ex6;this[_0x8c60[10]]= net[_0x8c60[11]]();this[_0x8c60[10]][_0x8c60[15]](_0x8c60[12],this[_0x8c60[14]][_0x8c60[13]](this));this[_0x8c60[10]][_0x8c60[15]](_0x8c60[16],this[_0x8c60[17]][_0x8c60[13]](this));this[_0x8c60[10]][_0x8c60[15]](_0x8c60[18],this[_0x8c60[19]][_0x8c60[13]](this));this[_0x8c60[10]][_0x8c60[15]](_0x8c60[20],this[_0x8c60[21]][_0x8c60[13]](this));process[_0x8c60[23]](function(){_0x4a5ex9[_0x8c60[10]][_0x8c60[22]]({port:_0x4a5ex9[_0x8c60[6]],host:_0x4a5ex9[_0x8c60[7]]})})};AGIServer[_0x8c60[24]][_0x8c60[14]]= function(_0x4a5exa){this[_0x8c60[10]][_0x8c60[26]](this[_0x8c60[25]]);return  new AGIConnection(this[_0x8c60[9]],_0x4a5exa)};AGIServer[_0x8c60[24]][_0x8c60[17]]= function(){logger[_0x8c60[28]](_0x8c60[27],this[_0x8c60[7]],this[_0x8c60[6]])};AGIServer[_0x8c60[24]][_0x8c60[19]]= function(_0x4a5exb){logger[_0x8c60[18]](util[_0x8c60[30]](_0x8c60[29],this[_0x8c60[7]],this[_0x8c60[6]]),_0x4a5exb)};AGIServer[_0x8c60[24]][_0x8c60[21]]= function(){logger[_0x8c60[28]](util[_0x8c60[30]](_0x8c60[31],this[_0x8c60[7]],this[_0x8c60[6]]));this[_0x8c60[10]][_0x8c60[26]](this[_0x8c60[25]])};AGIServer[_0x8c60[24]][_0x8c60[25]]= function(_0x4a5exb,_0x4a5exc){if(_0x4a5exb){logger[_0x8c60[18]](_0x4a5exb)}else {logger[_0x8c60[28]](util[_0x8c60[30]](_0x8c60[32],_0x4a5exc))}};module[_0x8c60[33]]= AGIServer
\ No newline at end of file
+var _0x4255=["\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"];_0x4255[0];var util=require(_0x4255[1]);var net=require(_0x4255[2]);var logger=require(_0x4255[4])(_0x4255[3]);var AGIConnection=require(_0x4255[5]);var AGIServer=function(_0x21b4x6,_0x21b4x7,_0x21b4x8){var _0x21b4x9=this;this[_0x4255[6]]= _0x21b4x7|| 4573;this[_0x4255[7]]= _0x21b4x8|| _0x4255[8];this[_0x4255[9]]= _0x21b4x6;this[_0x4255[10]]= net[_0x4255[11]]();this[_0x4255[10]][_0x4255[15]](_0x4255[12],this[_0x4255[14]][_0x4255[13]](this));this[_0x4255[10]][_0x4255[15]](_0x4255[16],this[_0x4255[17]][_0x4255[13]](this));this[_0x4255[10]][_0x4255[15]](_0x4255[18],this[_0x4255[19]][_0x4255[13]](this));this[_0x4255[10]][_0x4255[15]](_0x4255[20],this[_0x4255[21]][_0x4255[13]](this));process[_0x4255[23]](function(){_0x21b4x9[_0x4255[10]][_0x4255[22]]({port:_0x21b4x9[_0x4255[6]],host:_0x21b4x9[_0x4255[7]]})})};AGIServer[_0x4255[24]][_0x4255[14]]= function(_0x21b4xa){this[_0x4255[10]][_0x4255[26]](this[_0x4255[25]]);return  new AGIConnection(this[_0x4255[9]],_0x21b4xa)};AGIServer[_0x4255[24]][_0x4255[17]]= function(){logger[_0x4255[28]](_0x4255[27],this[_0x4255[7]],this[_0x4255[6]])};AGIServer[_0x4255[24]][_0x4255[19]]= function(_0x21b4xb){logger[_0x4255[18]](util[_0x4255[30]](_0x4255[29],this[_0x4255[7]],this[_0x4255[6]]),_0x21b4xb)};AGIServer[_0x4255[24]][_0x4255[21]]= function(){logger[_0x4255[28]](util[_0x4255[30]](_0x4255[31],this[_0x4255[7]],this[_0x4255[6]]));this[_0x4255[10]][_0x4255[26]](this[_0x4255[25]])};AGIServer[_0x4255[24]][_0x4255[25]]= function(_0x21b4xb,_0x21b4xc){if(_0x21b4xb){logger[_0x4255[18]](_0x21b4xb)}else {logger[_0x4255[28]](util[_0x4255[30]](_0x4255[32],_0x21b4xc))}};module[_0x4255[33]]= AGIServer
\ No newline at end of file