cmppconnectrep.java

来自「联通短信平台」· Java 代码 · 共 60 行

JAVA
60
字号
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   cmppConnectRep.java

package com.aspire.cmppApi;


public class cmppConnectRep
{

    byte bodybytes[];
    int bodylens;
    int status;
    String AuthenticatorISMG;
    int version;

    public cmppConnectRep(byte abyte0[], int i)
    {
        bodylens = i;
        bodybytes = new byte[i];
        status = -1;
        version = -1;
        AuthenticatorISMG = "";
        bodybytes = new byte[i];
        
        for(int j = 0; j < i; j++)
            bodybytes[j] = abyte0[j];

    }

    public String getAuthenticatorISMG()
    {
        StringBuffer stringbuffer = new StringBuffer();
        
        for(int i = 1; i < 17; i++)
        {
            char c = (char)bodybytes[i];
            stringbuffer.append(c);
        }

        AuthenticatorISMG = stringbuffer.toString();
        return AuthenticatorISMG;
    }

    public int getStatus()
    {
        int i = bodybytes[0];
        status = i;
        return status;
    }

    public int getVersion()
    {
        int i = bodybytes[17];
        version = i;
        return version;
    }
}

⌨️ 快捷键说明

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