|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ionetrics.lib.annotatorcomm.ResponseMessageQueue
public class ResponseMessageQueue
The ResponseMessageQueue queues messages for retrieval.
Constructor Summary | |
---|---|
ResponseMessageQueue()
|
Method Summary | |
---|---|
void |
close()
Close the ResponseMessageQueue. |
ResponseMessage |
get()
Get a message from the queue. |
void |
put(ResponseMessage msg)
Put a message into the queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponseMessageQueue()
Method Detail |
---|
public void close() throws java.io.IOException
close
in interface java.io.Closeable
java.io.IOException
- failure to closepublic ResponseMessage get() throws java.io.IOException
java.io.IOException
- failure to get a message (closed or timed out)public void put(ResponseMessage msg)
msg
- response message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |