fr.emn.win32input.jwintab
Class PacketQueue

java.lang.Object
  extended byfr.emn.win32input.jwintab.PacketQueue

public class PacketQueue
extends java.lang.Object

this is actually an interface to a context's packet queue


Method Summary
 void flush()
           
 TabletContext getContext()
           
 TabletPacket getLastPacket()
          Returns the most recent packet and flushes the queue
 TabletPacket getPacket()
          Returns the oldest packet and removes it from the queue
 int getSize()
           
 void setSize(int size)
          has no effect when the context is not open.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

flush

public void flush()

getContext

public TabletContext getContext()

getLastPacket

public TabletPacket getLastPacket()
Returns the most recent packet and flushes the queue


getPacket

public TabletPacket getPacket()
Returns the oldest packet and removes it from the queue


getSize

public int getSize()

setSize

public void setSize(int size)
has no effect when the context is not open.