com.jniwrapper.win32.hook.data
Class HooksData

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.hook.data.HooksData
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class HooksData
extends com.jniwrapper.Structure

This class represents structure which contains a hook events info.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
HooksData()
           
HooksData(HooksData that)
           
 
Method Summary
 java.lang.Object clone()
           
 EventsFilter getHookFilter(Hook.Descriptor descriptor)
           
 boolean getSynchronous(Hook hook)
           
 HookEventObject readEvent(Hook.Descriptor descriptor)
          Reads event data depending on a specified hook descriptor.
 void setHookFilter(Hook.Descriptor descriptor, EventsFilter filter)
           
 void setSynchronous(Hook hook, boolean value)
           
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HooksData

public HooksData()

HooksData

public HooksData(HooksData that)
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class com.jniwrapper.Structure

readEvent

public HookEventObject readEvent(Hook.Descriptor descriptor)
Reads event data depending on a specified hook descriptor.

Parameters:
descriptor - describes what data to read.
Returns:
a hook event.

setSynchronous

public void setSynchronous(Hook hook,
                           boolean value)

getSynchronous

public boolean getSynchronous(Hook hook)

setHookFilter

public void setHookFilter(Hook.Descriptor descriptor,
                          EventsFilter filter)

getHookFilter

public EventsFilter getHookFilter(Hook.Descriptor descriptor)