com.honeywell.ioctl
Class IoctlRWStruct

java.lang.Object
  extended by com.honeywell.ioctl.IoctlRWStruct

public class IoctlRWStruct
extends java.lang.Object

Specific data element which used to access HoneywellIOCTL functions.

Author:
E532815

Field Summary
 byte[] buffer
          When call hsmReadData(), this buffer used to store the low level info returned from driver, you need to allocate memory for this buffer; When call hsmWriteData(), this buffer contains data sent to driver.
 int bufferSize
          indicate buffer size in bytes.
 int dataItem
          IOCTL number.
 int readSize
          When call hsmReadData() successfully, actually read data size in byte will be set; When call hsmWriteData(),ignore this item.
 
Constructor Summary
IoctlRWStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataItem

public int dataItem
IOCTL number.


buffer

public byte[] buffer
When call hsmReadData(), this buffer used to store the low level info returned from driver, you need to allocate memory for this buffer; When call hsmWriteData(), this buffer contains data sent to driver.


bufferSize

public int bufferSize
indicate buffer size in bytes.


readSize

public int readSize
When call hsmReadData() successfully, actually read data size in byte will be set; When call hsmWriteData(),ignore this item.

Constructor Detail

IoctlRWStruct

public IoctlRWStruct()