genericconnection.java
来自「一个非常绚丽的j2em徒刑库」· Java 代码 · 共 67 行
JAVA
67 行
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: GenericConnection.java
package com.tricastmedia.twuik.tas.io;
import java.io.*;
import javax.microedition.io.Connection;
public abstract class GenericConnection
implements Connection
{
public GenericConnection()
{
}
public void setBufferSize(int i)
{
}
public int getObjectId()
{
return 0;
}
public void resetAttributes()
{
}
public void close()
throws IOException
{
IOException exc0 = null;
}
public abstract void execute();
public void cancel()
{
}
public int getBufferSize()
{
return 0;
}
protected Connection conn;
protected OutputStream os;
protected InputStream is;
protected boolean isInterrupted;
protected int toSendData;
protected int toReceiveData;
protected int sentData;
protected int receivedData;
protected int object_id;
public static final int CONN_NOT_OK = 1;
public static final int CONN_TIMEOUT = 2;
public static final int CONN_PERMISSION_DENIED = 3;
public static final int CONN_OK = 4;
public static final int CONN_NOT_FOUND = 5;
public static final int STREAM_EXCEPTION = 6;
public static final int ARGUMENTS_EXCEPTION = 7;
public static final int EXCEPTION = 8;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?