com.sewoo.jpos.request
Class RequestQueue
java.lang.Object
com.sewoo.jpos.request.RequestQueue
public class RequestQueue
- extends java.lang.Object
This class stores Request Data.
- Since:
- 1.00
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestQueue
public RequestQueue()
getInstance
public static RequestQueue getInstance()
dequeue
public RequestData dequeue()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
enqueue
public void enqueue(RequestData obj)
clearQueue
public void clearQueue()
isEmpty
public boolean isEmpty()
addRequest
public void addRequest(byte[] data)