ewe.io
Class Buffer

java.lang.Object
  extended byewe.io.Buffer

Deprecated. use ewe.util.ObjectBuffer instead.

public class Buffer
extends Object


Field Summary
 boolean appendArrays
          Deprecated. Set this true for use as an array transfer buffer.
 
Constructor Summary
Buffer()
          Deprecated.  
Buffer(boolean appendArrays)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated.  
 Object get(TimeOut howLong)
          Deprecated. This will get an object from the buffer and it will not return until it has done so, or until the buffer has been closed, or the timeout has expired.
 boolean isClosed()
          Deprecated.  
 boolean put(Object toAdd, TimeOut howLong)
          Deprecated. This will put the object into the buffer and it will not return until it has done so, or until the timeout has expired or until the buffer has been closed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Field Detail

appendArrays

public boolean appendArrays
Deprecated. 
Set this true for use as an array transfer buffer. Any incoming arrays are merged with the waiting array. This can be used for any type of array.

Constructor Detail

Buffer

public Buffer()
Deprecated. 

Buffer

public Buffer(boolean appendArrays)
Deprecated. 
Method Detail

put

public boolean put(Object toAdd,
                   TimeOut howLong)
Deprecated. 
This will put the object into the buffer and it will not return until it has done so, or until the timeout has expired or until the buffer has been closed. This can be called by a non-coroutine thread if TimeOut is TimeOut.Immediate.


get

public Object get(TimeOut howLong)
Deprecated. 
This will get an object from the buffer and it will not return until it has done so, or until the buffer has been closed, or the timeout has expired. This can be called by a non-coroutine thread if TimeOut is TimeOut.Immediate.


close

public void close()
Deprecated. 

isClosed

public boolean isClosed()
Deprecated.