예제 #1
0
    public void OnIOError(IOErrorEvent ioError)
    {
        Debug.LogError("IO Error event: " + ioError.Message);
        ConnectionChecker checker = new ConnectionChecker();

        checker.check(
            delegate(bool success) {
            if (success)
            {
                cleanupConnectionSuccessful(false, 0);
            }
            else
            {
                cleanupConnectionSuccessful(false, 1);
            }
        });
    }
예제 #2
0
    public void OnIOError(IOErrorEvent ioError)
    {
        Debug.LogError ("IO Error event: " + ioError.Message);
        ConnectionChecker checker = new ConnectionChecker ();

        checker.check (
            delegate (bool success) {
                if (success) {
                    cleanupConnectionSuccessful(false,0);
                }else {
                    cleanupConnectionSuccessful(false,1);
                }
        });
    }