park.borne
Class TinyEventQueue

java.lang.Object
  extended bypark.borne.TinyEventQueue

public final class TinyEventQueue
extends java.lang.Object

Titre : Un petit tampon

Description : tampon circulaire utilisé pour gérer les événements. Chaque événement est codé sur un octet

Copyright : Copyright (c) 2003

Société :


Field Summary
private  int pointeurTamponIn
           
private  int pointeurTamponOut
           
private static int TAILLETAMPON
           
private  byte[] tampon
           
 
Constructor Summary
TinyEventQueue()
           
 
Method Summary
 byte read()
           
 void write(byte ev)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAILLETAMPON

private static final int TAILLETAMPON
See Also:
Constant Field Values

tampon

private byte[] tampon

pointeurTamponIn

private int pointeurTamponIn

pointeurTamponOut

private int pointeurTamponOut
Constructor Detail

TinyEventQueue

public TinyEventQueue()
Method Detail

write

public final void write(byte ev)

read

public final byte read()