Jivelite remote app ios
![jivelite remote app ios jivelite remote app ios](https://www.max2play.com/wp-content/uploads/2013/10/jivelite_spectrum_analyzer.jpg)
If playerId = System: getMacAddress() then remove the player from our list since it is reported by the server If tonumber(data) > 0 thenįor i, player_info in ipairs(serverPlayers) do use tostring to handle nil case (in either server of self data) Log: info( "Ignoring potentially inaccurate player data for current player in serverstatus from other servers (excluding any locally requested server) until SERVER_DISCONNECT_LAG_TIME passes: server: ", self) SlimProto disconnects can take several seconds to "take", during which time a disconnected player might still be in the serverstatus list idĪnd lastServerSwitchT and lastServerSwitchT + SERVER_DISCONNECT_LAG_TIME > now then connected) = 1Īnd Player: getCurrentPlayer() and player_info. contains(locallyRequestedServers, self)) or ( #locallyRequestedServers = 0 and self ~= currentServer))Īnd tonumber(player_info. If lastServerSwitchT and lastServerSwitchT + SERVER_DISCONNECT_LAG_TIME 0 and not table. registered yet when the serverstatus response occurs remember players from server, avoid possibly inaccurate player information that can happen in race conditions when SlimProto socket disconnection is not Log: error( self, ": chunk with no data ?! ") Log: debug( self, ":_serverstatusSink() ") processes the result of the serverstatus callįunction _serverstatusSink( self, event, err)
![jivelite remote app ios jivelite remote app ios](https://roon-community-uploads.s3.amazonaws.com/original/3X/f/6/f69071b7f9e48388079fe54a70ab3f63e9ca18a7.jpeg)
Log: error( self, ": no function called ") Log: error( self, ": ", err, " during ", name) If func and type(func) = "function " then If lastCurrentServer and lastCurrentServer. is the current server still active, it not clean up? LastServerSwitchT = Framework: getTicks() Log: debug( "setting lastServerSwitchT for server: ", server) If lastCurrentServer and ( (server and lastCurrentServer ~= server) or ( not server and lastCurrentServer) ) then class method to set the current serverįunction setCurrentServer( class, server)
![jivelite remote app ios jivelite remote app ios](https://s2.glbimg.com/QboKBnuODUeF3m1CWdoJrc-lqvM=/0x600/s.glbimg.com/po/tt2/f/original/2014/06/06/remote-mouse-9.jpg)
Table.insert(locallyRequestedServers, server) class method to add the locally requested server (mihgt be more than one - one for local player and one for remote player, for instance)įunction addLocallyRequestedServer( class, server) class function to iterate over all SqueezeCentersįunction getServerByAddress( self, address)
![jivelite remote app ios jivelite remote app ios](http://uploads.tapatalk-cdn.com/20160816/e422d5a2a21d4dda68600c2b7a4d6d7c.jpg)
Will be nilled out when SERVER_DISCONNECT_LAG_TIME has passed. holds the server for which a local connection request has been made. Local MINIMUM_COMPATIBLE_FIRMWARE = "7.6 r0 " XXXX - to be updated with real version/revision use this value to prevent downgrading firmwares unless really necessary oldest firmware version which is supposed to be compatible with this firmware minimum support server version, can be set per device we must load this after the module declartion to dependancy loops Local Framework = require( "jive.ui.Framework ") Local Surface = require( "jive.ui.Surface ") Local pairs, ipairs, require, setmetatable = pairs, ipairs, require, setmetatable Local _assert, assert, tostring, type, tonumber = _assert, assert, tostring, type, tonumber ServerDisconnected(self, numUserRequests) Local myServerVersion = myServer:getVersion() Allow some time here for newtork IO to occur Represents and interfaces with a real SlimServer on the network.