Class CogNamerRecord
java.lang.Object
com.cognex.cmbsdk.cognamer.CogNamerNode
com.cognex.cmbsdk.cognamer.records.CogNamerRecord
- Direct Known Subclasses:
CommentsRecord,CredentialsRecord,DescriptionRecord,DeviceTypeRecord,FirmwareVersionRecord,GroupNameRecord,HostNameRecord,IpAddressRecord,KnownSystemsRecord,LanguageIDRecord,MacAddressRecord,ModelNumberRecord,NetworkSettingsRecord,NoneRecord,OrderingNumberRecord,SerialNumberRecord,ServicesRecord
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddByte(LinkedList<Byte> bytes, byte b) protected static voidaddBytes(LinkedList<Byte> bytes, byte[] byteArray) byte[]static CogNamerRecordfromStream(InputStream input) protected static byte[]getBytes(LinkedList<Byte> bytes) protected static byte[]getBytes(LinkedList<Byte> bytes, int count) byte[]getData()intprotected static StringgetString(LinkedList<Byte> bytes) intgetType()voidsetData(byte[] data) Methods inherited from class com.cognex.cmbsdk.cognamer.CogNamerNode
makeString, makeU16, makeU32, makeU8, makeVarInt, readString, readU16, readU32, readU8, readVarInt
-
Field Details
-
mType
protected int mType -
mData
protected byte[] mData
-
-
Constructor Details
-
CogNamerRecord
protected CogNamerRecord()
-
-
Method Details
-
fromStream
-
getType
public int getType() -
getData
public byte[] getData() -
setData
public void setData(byte[] data) -
getLength
public int getLength() -
createPacketBuffer
public byte[] createPacketBuffer() -
getBytes
-
getString
-
addByte
-
addBytes
-
getBytes
-