public abstract class NovaTask extends Object
限定符和类型 | 字段和说明 |
---|---|
protected static int |
BIG_SIZE |
protected NovaDevice |
channel |
protected static int |
ERROR |
protected static int |
SUCCESS |
protected static int |
TEMP_SIZE |
构造器和说明 |
---|
NovaTask(NovaDevice channel) |
protected NovaDevice channel
protected static final int SUCCESS
protected static final int ERROR
protected static final int TEMP_SIZE
protected static final int BIG_SIZE
public NovaTask(NovaDevice channel)
public abstract int execute()
public abstract void release()
protected byte[] getBytes(String str) throws UnsupportedEncodingException
protected byte[] makeSendPacket(byte what, byte[] data, int dataSize)
what
- data
- dataSize
- protected void write(byte[] outbuf) throws IOException
IOException
Copyright © 2023. All rights reserved.