Package com.automation_pros.odva.cpf
Interface CpfWrapper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CpfAddressgetAddressItem()Obtain the packet's Address CPF item, if present and in the first position.DataCPFgetDataItem()Obtain the packet's Data CPF item, if present and in the first or second position.CommonPacketFormatgetItem(int idx)Given the index of an item in this packet's list of CPF items, return that item.intgetItemCount()Obtain the number of CPF items wrapped in this packet.voidputBytes(java.nio.ByteBuffer dest)Given an output buffer, write the entire packet.
-
-
-
Method Detail
-
getAddressItem
CpfAddress getAddressItem()
Obtain the packet's Address CPF item, if present and in the first position.- Returns:
-
getDataItem
DataCPF getDataItem()
Obtain the packet's Data CPF item, if present and in the first or second position.- Returns:
-
getItemCount
int getItemCount()
Obtain the number of CPF items wrapped in this packet.- Returns:
-
getItem
CommonPacketFormat getItem(int idx)
Given the index of an item in this packet's list of CPF items, return that item.- Parameters:
idx-- Returns:
-
putBytes
void putBytes(java.nio.ByteBuffer dest)
Given an output buffer, write the entire packet.- Parameters:
dest-
-
-