Ejemplo n.º 1
0
    public override void Dispose()
    {
        if (Debug.isDebugBuild)
        {
            DataLookupDebug.Dispose();
        }

        m_endPoint = null;
    }
Ejemplo n.º 2
0
    public override void Initialize(EB.Sparx.Config config)
    {
        m_endPoint = Hub.ApiEndPoint;
        if (Debug.isDebugBuild)
        {
            DataLookupDebug.Create();
        }

        // PushManager should Initialize before DataLookupSparxManager
        EB.Sparx.PushManager pm = Hub.PushManager;
        if (pm != null)
        {
            pm.OnHandleMessage += new System.Action <string, string, object>(OnHandleMessage);
        }
    }