public void Log(String tag, GameSparks.RT.GameSparksRT.LogLevel level, String msg, params object[] formatParams)
 {
     if (GameSparksRT.ShouldLog(tag, level))
     {
         SubmitAction(LogCommand.pool.Pop().Configure(this, tag, level, msg, formatParams));
     }
 }
예제 #2
0
 public void Execute()
 {
     try{
         if (GameSparksRT.ShouldLog(tag, level))
         {
             GameSparksRT.Logger(session.PeerId + " " + tag + ":" + String.Format(msg, formatParams));
         }
     }finally {
         pool.Push(this);
     }
 }
        public void ConnectWSReliable()
        {
            mustConnectBy = DateTime.Now.AddMilliseconds(GameSparksRT.ComputeSleepPeriod(connectionAttempts) + GameSparksRT.HandshakeOffset * 10);

            reliableWSConnection = new ReliableWSConnection(hostName, TcpPort, this);
        }