⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 connectionmanage_ag.java

📁 经过反编译和部分代码修改后的ultraimpro java源代码。可在netbean环境下成功编译。供学习和分析用。
💻 JAVA
字号:
// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov  Date: 2006-5-1 19:31:40
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 

import java.util.Vector;

public final class ConnectionManage_ag
{

    public ConnectionManage_ag()
    {
    }

    public static final ConnectionManage_ag GetObject()
    {
        if(a_ag_static_fld == null)
            a_ag_static_fld = new ConnectionManage_ag();
        return a_ag_static_fld;
    }

    public final void ConnectServer(String s, String s1, String s2, String s3, String s4, String s5, int i)
        throws bq
    {
        strMsnServerDomainName = s2;
        strMsnServerPort = s3;
        b_int_fld = i;
        ConnectServer(s, s1, s4, s5, i, true);
        if(!IsSocketOpen())
        {
            if(a_t_fld != null)
            {
                int j;
                if((j = a_t_fld.d_int_fld) == 401)
                    throw new bq(1);
                if(j != 0)
                    throw new bq(3, j);
                else
                    throw new bq(3, -201);
            } else
            {
                throw new bq(3, -201);
            }
        } else
        {
            return;
        }
    }

    public final void ConnectServer(String s, String s1, String s2, String s3, int i, boolean flag)
    {
        boolean flag1;
        if(strMsnServerDomainName == null)
        {
            strMsnServerDomainName = "messenger.hotmail.com";
            strMsnServerPort = String.valueOf(1863);
            flag1 = true;
        } else
        {
            flag1 = false;
        }
        do
        {
            a_t_fld = new Notification_t(strMsnServerDomainName, Integer.valueOf(strMsnServerPort));
            a_t_fld.ConnectServer(s, s1, s2, s3, i, flag);
            int j;
            if((j = a_t_fld.d_int_fld) == -500)
            {
                strMsnServerDomainName = a_t_fld.d_java_lang_String_fld;
                strMsnServerPort = a_t_fld.a_mod_tos();
                MainMenuList.GetObject().UpdateServerNameAndPort(strMsnServerDomainName, strMsnServerPort);
                try
                {
                    Thread.sleep(200L);
                }
                catch(Exception _ex) { }
            } else
            if(j == -200)
            {
                if(flag1)
                    return;
                flag1 = true;
                strMsnServerDomainName = "messenger.hotmail.com";
                strMsnServerPort = String.valueOf(1863);
            } else
            {
                return;
            }
        } while(true);
    }

    public final int a_mod_toi()
    {
        if(a_t_fld != null)
            return a_t_fld.a_int_fld;
        else
            return b_int_fld;
    }

    public final void a()
    {
        a_t_fld.a();
    }

    public final boolean IsSocketOpen()
    {
        if(a_t_fld != null)
            return a_t_fld.IsSocketOpen();
        else
            return false;
    }

    public final void a(String s)
    {
        a_t_fld.b(s);
    }

    public final void b(String s)
    {
        a_t_fld.c(s);
    }

    public final int b_mod_toi()
    {
        if(a_t_fld == null)
            return 10;
        else
            return a_t_fld.c_int_fld;
    }

    public final void a(ab ab1)
    {
        a_t_fld.a(ab1);
    }

    public final void b(ab ab1)
    {
        a_t_fld.b(ab1);
    }

    public final void c(ab ab1)
    {
        a_t_fld.c(ab1);
    }

    public final void d(ab ab1)
    {
        a_t_fld.d(ab1);
    }

    public final e a_mod_toe()
    {
        return a_t_fld.a_e_fld;
    }

    public final void b()
    {
        a_t_fld.c();
    }

    public final void SendMsnMsg(String s, String s1, Object obj, int i)
    {
        a_t_fld.SendMsnMsg(s, s1, obj, i);
    }

    public final void a(String s, String s1, String s2)
    {
        a_t_fld.a(s, s1, s2);
    }

    public final void c(String s)
    {
        a_t_fld.a(s);
    }

    public final void d(String s)
    {
        a_t_fld.d(s);
    }

    public final void c()
    {
        a_bd_fld = null;
    }

    public final void d()
    {
        if(a_t_fld != null)
            a_t_fld = null;
    }

    public final synchronized void a(String s, Vector vector, String s1, String s2)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(s, vector, s1, s2);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void a(boolean flag, boolean flag1, String s, String s1, byte abyte0[])
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(flag, flag1, s, s1, abyte0);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void a(boolean flag, boolean flag1, String s, String s1, int i)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(flag, flag1, s, s1, i);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void a(String s, int i, Object obj)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(s, i, obj);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void a(String s, String s1, PresenceStringHash_az az1, String s2)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(s, s1, az1, s2);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void e(ab ab1)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.c(ab1);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void e()
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.c();
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void f()
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.b();
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void a(String s, String s1)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(s, s1);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void f(ab ab1)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(ab1);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void e(String s)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(s);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void g(ab ab1)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.d(ab1);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void f(String s)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.b(s);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void h(ab ab1)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.b(ab1);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final synchronized void a(String s, Vector vector)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(s, vector);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final synchronized void a(String s, String s1, Vector vector)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.a(s, s1, vector);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void g(String s)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.c(s);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void h(String s)
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.d(s);
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public final void g()
    {
        if(a_bd_fld == null)
            return;
        try
        {
            a_bd_fld.d();
            return;
        }
        catch(Exception _ex)
        {
            return;
        }
    }

    public static ConnectionManage_ag a_ag_static_fld;
    public static int a_int_static_fld = 0;
    public String strMsnServerDomainName;
    public String strMsnServerPort;
    public int b_int_fld;
    public bd a_bd_fld;
    public Notification_t a_t_fld;

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -