Exemplo n.º 1
0
 /// <summary>
 /// Create a new client circuit
 /// </summary>
 /// <param name="remoteEP"></param>
 /// <param name="scene"></param>
 /// <param name="assetCache"></param>
 /// <param name="packServer"></param>
 /// <param name="sessionInfo"></param>
 /// <param name="agentId"></param>
 /// <param name="sessionId"></param>
 /// <param name="circuitCode"></param>
 /// <param name="proxyEP"></param>
 /// <returns></returns>
 protected virtual IClientAPI CreateNewCircuit(
     EndPoint remoteEP, IScene scene, IAssetCache assetCache,
     LLPacketServer packServer, AuthenticateResponse sessionInfo,
     UUID agentId, UUID sessionId, uint circuitCode, EndPoint proxyEP)
 {
     return
         (new LLClientView(
              remoteEP, scene, assetCache, packServer, sessionInfo, agentId, sessionId, circuitCode, proxyEP,
              m_userSettings));
 }
Exemplo n.º 2
0
        ////////////////////////////////////////////////////////////////////

        // Constructors
        //
        public LLPacketHandler(IClientAPI client, LLPacketServer server, ClientStackUserSettings userSettings)
        {
            m_Client          = client;
            m_PacketServer    = server;
            m_DropSafeTimeout = Environment.TickCount + 15000;

            m_PacketQueue = new LLPacketQueue(client.AgentId, userSettings);

            m_AckTimer.Elapsed += AckTimerElapsed;
            m_AckTimer.Start();
        }
Exemplo n.º 3
0
 public virtual void RegisterPacketServer(LLPacketServer server)
 {
     m_packetServer = server;
 }
 /// <summary>
 /// Create a new client circuit
 /// </summary>
 /// <param name="remoteEP"></param>
 /// <param name="scene"></param>
 /// <param name="assetCache"></param>
 /// <param name="packServer"></param>
 /// <param name="sessionInfo"></param>
 /// <param name="agentId"></param>
 /// <param name="sessionId"></param>
 /// <param name="circuitCode"></param>
 /// <param name="proxyEP"></param>
 /// <returns></returns>
 protected virtual IClientAPI CreateNewCircuit(
     EndPoint remoteEP, IScene scene, 
     LLPacketServer packServer, AuthenticateResponse sessionInfo,
      UUID agentId, UUID sessionId, uint circuitCode, EndPoint proxyEP)
 {
     return
         new LLClientView(
              remoteEP, scene, packServer, sessionInfo, agentId, sessionId, circuitCode, proxyEP,
              m_userSettings);
 }
Exemplo n.º 5
0
 public virtual void RegisterPacketServer(LLPacketServer server)
 {
     m_packetServer = server;
 }
Exemplo n.º 6
0
        ////////////////////////////////////////////////////////////////////

        // Constructors
        //
        public LLPacketHandler(IClientAPI client, LLPacketServer server, ClientStackUserSettings userSettings)
        {
            m_Client = client;
            m_PacketServer = server;
            m_DropSafeTimeout = Environment.TickCount + 15000;

            m_PacketQueue = new LLPacketQueue(client.AgentId, userSettings);

            m_AckTimer.Elapsed += AckTimerElapsed;
            m_AckTimer.Start();
        }