120 lines
3.1 KiB
Java
120 lines
3.1 KiB
Java
package javax.baja.bacnet.io;
|
|
|
|
import javax.baja.bacnet.datatypes.BBacnetBitString;
|
|
import javax.baja.bacnet.datatypes.BBacnetDate;
|
|
import javax.baja.bacnet.datatypes.BBacnetNull;
|
|
import javax.baja.bacnet.datatypes.BBacnetObjectIdentifier;
|
|
import javax.baja.bacnet.datatypes.BBacnetOctetString;
|
|
import javax.baja.bacnet.datatypes.BBacnetTime;
|
|
import javax.baja.bacnet.datatypes.BBacnetUnsigned;
|
|
import javax.baja.sys.BFloat;
|
|
import javax.baja.sys.BInteger;
|
|
|
|
public interface AsnInput {
|
|
public static final int END_OF_DATA = -1;
|
|
|
|
int available();
|
|
|
|
int getDataLength();
|
|
|
|
boolean isApplicationTag(int i);
|
|
|
|
boolean isClosingTag(int i);
|
|
|
|
boolean isContextTag(int i);
|
|
|
|
boolean isOpeningTag(int i);
|
|
|
|
boolean isValueTag(int i);
|
|
|
|
int peekApplicationTag() throws AsnException;
|
|
|
|
int peekTag() throws AsnException;
|
|
|
|
int read(byte[] bArr);
|
|
|
|
BBacnetOctetString readBacnetOctetString() throws AsnException;
|
|
|
|
BBacnetOctetString readBacnetOctetString(int i) throws AsnException;
|
|
|
|
BBacnetBitString readBitString() throws AsnException;
|
|
|
|
BBacnetBitString readBitString(int i) throws AsnException;
|
|
|
|
boolean readBoolean() throws AsnException;
|
|
|
|
boolean readBoolean(int i) throws AsnException;
|
|
|
|
String readCharacterString() throws AsnException;
|
|
|
|
String readCharacterString(int i) throws AsnException;
|
|
|
|
byte[] readContextTaggedData() throws AsnException;
|
|
|
|
BBacnetDate readDate() throws AsnException;
|
|
|
|
BBacnetDate readDate(int i) throws AsnException;
|
|
|
|
double readDouble() throws AsnException;
|
|
|
|
double readDouble(int i) throws AsnException;
|
|
|
|
byte[] readEncodedValue(int i) throws AsnException;
|
|
|
|
int readEnumerated() throws AsnException;
|
|
|
|
int readEnumerated(int i) throws AsnException;
|
|
|
|
BFloat readFloat() throws AsnException;
|
|
|
|
BFloat readFloat(int i) throws AsnException;
|
|
|
|
int readInteger() throws AsnException;
|
|
|
|
BBacnetNull readNull() throws AsnException;
|
|
|
|
BBacnetNull readNull(int i) throws AsnException;
|
|
|
|
BBacnetObjectIdentifier readObjectIdentifier() throws AsnException;
|
|
|
|
BBacnetObjectIdentifier readObjectIdentifier(int i) throws AsnException;
|
|
|
|
byte[] readOctetString() throws AsnException;
|
|
|
|
byte[] readOctetString(int i) throws AsnException;
|
|
|
|
float readReal() throws AsnException;
|
|
|
|
float readReal(int i) throws AsnException;
|
|
|
|
BInteger readSigned() throws AsnException;
|
|
|
|
BInteger readSigned(int i) throws AsnException;
|
|
|
|
int readSignedInteger() throws AsnException;
|
|
|
|
int readSignedInteger(int i) throws AsnException;
|
|
|
|
BBacnetTime readTime() throws AsnException;
|
|
|
|
BBacnetTime readTime(int i) throws AsnException;
|
|
|
|
BBacnetUnsigned readUnsigned() throws AsnException;
|
|
|
|
BBacnetUnsigned readUnsigned(int i) throws AsnException;
|
|
|
|
int readUnsignedInt() throws AsnException;
|
|
|
|
int readUnsignedInt(int i) throws AsnException;
|
|
|
|
long readUnsignedInteger() throws AsnException;
|
|
|
|
long readUnsignedInteger(int i) throws AsnException;
|
|
|
|
void skipClosingTag(int i) throws AsnException;
|
|
|
|
void skipOpeningTag(int i) throws AsnException;
|
|
|
|
int skipTag() throws AsnException;
|
|
}
|