cmppconnectrep.java

来自「移动短信网关接口源程序框架」· Java 代码 · 共 59 行

JAVA
59
字号
// Decompiled by DJ v2.9.9.60 Copyright 2000 Atanas Neshkov  Date: 2004-4-16 11:12:21
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   cmppConnectRep.java

package com.aspire.cmppApi;


public class cmppConnectRep
{

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

    }

    public String getAuthenticatorISMG()
    {
        StringBuffer stringbuffer = new StringBuffer();
        boolean flag = true;
        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;
    }

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

⌨️ 快捷键说明

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