|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jini.jeri.connection.ConnectionManager.ReqIterator
private final class ConnectionManager.ReqIterator
Outbound request iterator returned by newRequest.
Field Summary | |
---|---|
private boolean |
first
True if next has not yet been called. |
private OutboundRequestHandle |
handle
The request handle. |
private ConnectionManager.OutboundMux |
mux
The outbound mux from the last call to next, if any. |
Constructor Summary | |
---|---|
ConnectionManager.ReqIterator(OutboundRequestHandle handle)
|
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if next has not yet been called or if the last mux returned had an asynchronous close. |
OutboundRequest |
next()
If hasNext returns true, finds the entry (if any) for the connection endpoint. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final OutboundRequestHandle handle
private boolean first
private ConnectionManager.OutboundMux mux
Constructor Detail |
---|
ConnectionManager.ReqIterator(OutboundRequestHandle handle)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface OutboundRequestIterator
true
if this iterator supports making
another attempt to communicate the request, and
false
otherwisepublic OutboundRequest next() throws IOException
next
in interface OutboundRequestIterator
OutboundRequest
to use to write the
request data and read the response
IOException
- if an I/O exception occurs while performing
this operation; in this event, the recipient may have received
an indication of the request initiation attempt
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |