|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
primitive.Buffer
Buffer.java This class creates a Object buffer which causes the get method to block until an Object is availabe.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
Buffer()
Constructor for Buffer class. |
|
| Method Summary | |
java.lang.Object |
get()
Get an Object from the Buffer. |
java.lang.String |
getIP()
A Buffer can be bound to an IP address in order to aid Debugging |
void |
insert(java.lang.Object O)
Inserts an Object into the buffer. |
void |
setIP(java.lang.String IP)
A Buffer can be bound to an IP address in order to aid Debugging |
int |
size()
The current size of the buffer. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Buffer()
| Method Detail |
public java.lang.String getIP()
public void setIP(java.lang.String IP)
IP - The IP address which this Buffer is to be bound.public int size()
public void insert(java.lang.Object O)
O - The Object to be inserted.public java.lang.Object get()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||