RequestQueue.dequeue

Attempts to remove a socket from the queue. This method may cause the calling thread to block for some amount of time until a socket is available to obtain.

interface RequestQueue
Socket
dequeue
()

Return Value

Type: Socket

The socket that was removed, or null if none was found.