Intel

Developer Zone

EventData

com.intel.security.dalinterface

Class EventData

  • java.lang.Object
    • com.intel.security.dalinterface.EventData


  • public final class EventData
    extends java.lang.Object
    Class EventData implements data container, received in asynchronous event
    • Constructor Summary

      Constructors
      Constructor and Description
      EventData(long handle, byte[] data, byte dataType)
      Public constructor
    • Method Summary

      Methods
      Modifier and Type Method and Description
      byte[] getData()
      Retrieves Event data binary data from EventData container
      byte getDataType()
      Retrieves Event data type from EventData container
      long getHandle()
      Retrieves Session handle from EventData container
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventData

        public EventData(long handle,
                 byte[] data,
                 byte dataType)
        Public constructor
        Parameters:
        handle - - Session handle;
        data - - Event data buffer;
        dataType - - Event data type: DATA_FROM_APPLET = 0x0 DATA_FROM_SERVICE = 0x1
    • Method Detail

      • getHandle

        public final long getHandle()
        Retrieves Session handle from EventData container
        Returns:
        Session Handle
      • getDataType

        public final byte getDataType()
        Retrieves Event data type from EventData container
        Returns:
        data type : 0 - data from FW, 1 - data from Dal/JHI service
      • getData

        public final byte[] getData()
        Retrieves Event data binary data from EventData container
        Returns:
        binary data