public class SynchroBufferAdapter
extends java.lang.Object
| Constructor and Description |
|---|
SynchroBufferAdapter(SynchroBufferListener listener,
SynchroBuffer buffer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the buffer and deallocate resources.
|
void |
disable()
Disable the listener.
|
void |
enable()
Enable the listener.
|
void |
push(java.util.Collection collection)
Push a collection of objects into the buffer.
|
void |
push(java.lang.Object object)
Push an object into the buffer.
|
public SynchroBufferAdapter(SynchroBufferListener listener, SynchroBuffer buffer)
listener - the buffer listenerbuffer - the SynchroBuffer instancepublic void push(java.lang.Object object)
object - the object to pushpublic void push(java.util.Collection collection)
collection - the collection of objects to pushpublic void enable()
public void disable()
public void close()