unbindresp.java

来自「SGIP1.2java SP 收发短信 采用java实现」· Java 代码 · 共 65 行

JAVA
65
字号
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   UnbindResp.java

package spApi;

import java.io.OutputStream;
import java.io.PrintStream;

// Referenced classes of package spApi:
//			SGIP_Command, MsgHead

public class UnbindResp extends SGIP_Command
{

	private static final int CommandLength = 0;
	private static final int CommandID = 0x80000002;
	private int flag;

	public UnbindResp(SGIP_Command sgip_command)
	{
		super(sgip_command);
		flag = 1;
	}

	public UnbindResp(MsgHead msghead)
	{
		super(msghead, 0, 0x80000002);
		flag = 1;
	}

	public UnbindResp(long l)
	{
		super(l, 0, 0x80000002);
		flag = 1;
	}

	public UnbindResp()
	{
		super(0, 0x80000002);
		flag = 1;
	}

	public int GetFlag()
	{
		return flag;
	}

	public int write(OutputStream outputstream)
	{
		try
		{
			super.head.write(outputstream);
			flag = 1;
			return 0;
		}
		catch (Exception exception)
		{
			System.out.println(exception.toString());
		}
		return -1;
	}
}

⌨️ 快捷键说明

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