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

📄 cmppqueryrep.java

📁 移动短信网关接口源程序框架
💻 JAVA
字号:
// Decompiled by DJ v2.9.9.60 Copyright 2000 Atanas Neshkov  Date: 2004-4-16 11:12:24
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   cmppQueryRep.java

package com.aspire.cmppApi;


// Referenced classes of package com.aspire.cmppApi:
//            cmppCommon

public class cmppQueryRep
{

    public cmppQueryRep(byte abyte0[], int i)
    {
        bodylens = i;
        bodybytes = new byte[i];
        gTime = "";
        QueryType = 0;
        QueryCode = "";
        MTTLMsg = 0;
        MTTlusr = 0;
        MTScs = 0;
        MTWT = 0;
        MTFL = 0;
        MOScs = 0;
        MOWT = 0;
        MOFL = 0;
        bodybytes = new byte[i];
        boolean flag = false;
        for(int j = 0; j < i; j++)
            bodybytes[j] = abyte0[j];

    }

    public int getMOFL()
    {
        byte abyte0[] = new byte[4];
        cmppCommon.BytesCopy(bodybytes, abyte0, 47, 50, 0);
        MOFL = cmppCommon.Bytes4ToInt(abyte0);
        return MOFL;
    }

    public int getMOScs()
    {
        byte abyte0[] = new byte[4];
        cmppCommon.BytesCopy(bodybytes, abyte0, 39, 42, 0);
        MOScs = cmppCommon.Bytes4ToInt(abyte0);
        return MOScs;
    }

    public int getMOWT()
    {
        byte abyte0[] = new byte[4];
        cmppCommon.BytesCopy(bodybytes, abyte0, 43, 46, 0);
        MOWT = cmppCommon.Bytes4ToInt(abyte0);
        return MOWT;
    }

    public int getMTFL()
    {
        byte abyte0[] = new byte[4];
        cmppCommon.BytesCopy(bodybytes, abyte0, 35, 38, 0);
        MTFL = cmppCommon.Bytes4ToInt(abyte0);
        return MTFL;
    }

    public int getMTScs()
    {
        byte abyte0[] = new byte[4];
        cmppCommon.BytesCopy(bodybytes, abyte0, 27, 30, 0);
        MTScs = cmppCommon.Bytes4ToInt(abyte0);
        return MTScs;
    }

    public int getMTTLMsg()
    {
        byte abyte0[] = new byte[4];
        cmppCommon.BytesCopy(bodybytes, abyte0, 19, 22, 0);
        MTTLMsg = cmppCommon.Bytes4ToInt(abyte0);
        return MTTLMsg;
    }

    public int getMTTlusr()
    {
        byte abyte0[] = new byte[4];
        cmppCommon.BytesCopy(bodybytes, abyte0, 23, 26, 0);
        MTTlusr = cmppCommon.Bytes4ToInt(abyte0);
        return MTTlusr;
    }

    public int getMTWT()
    {
        byte abyte0[] = new byte[4];
        cmppCommon.BytesCopy(bodybytes, abyte0, 31, 34, 0);
        MTWT = cmppCommon.Bytes4ToInt(abyte0);
        return MTWT;
    }

    public String getQueryCode()
    {
        StringBuffer stringbuffer = new StringBuffer();
        byte byte0 = 9;
        for(int i = 9; i < 19; i++)
        {
            char c = (char)bodybytes[i];
            stringbuffer.append(c);
        }

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

    public int getQueryType()
    {
        int i = bodybytes[8];
        QueryType = i;
        return QueryType;
    }

    public String getTime()
    {
        StringBuffer stringbuffer = new StringBuffer();
        boolean flag = false;
        for(int i = 0; i < 8; i++)
        {
            char c = (char)bodybytes[i];
            stringbuffer.append(c);
        }

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

    byte bodybytes[];
    int bodylens;
    String gTime;
    int QueryType;
    String QueryCode;
    int MTTLMsg;
    int MTTlusr;
    int MTScs;
    int MTWT;
    int MTFL;
    int MOScs;
    int MOWT;
    int MOFL;
}

⌨️ 快捷键说明

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