|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnumItems
A container that holds completed task results.
Provides access to a series of TaskOutputHandle
elements, one at a time.
Successive calls to the getNext
method return successive elements
in the series.
Session.fetchTaskOutput
will return an EnumItems
object, which
can be used to iterate through the task responses received from Symphony.
EnumItems enumOutput = session.fetchTaskOutput(numTasks); TaskOutputHandle output = enumOutput.getNext(); while (output != null) { ...... output = enumOutput.getNext(); }
Session.fetchTaskOutput(long)
,
TaskOutputHandle
Method Summary | |
---|---|
long |
getCount()
Retrieves the number of items in the enumeration. |
TaskOutputHandle |
getNext()
Returns the next item in the enumeration, or null if there are no
more items. |
void |
reset()
Resets the enumeration position to the beginning of the series. |
void |
skip(long skipCount)
Skips over the next skipCount items in the enumeration. |
Method Detail |
---|
TaskOutputHandle getNext() throws SoamException
null
if there are no
more items.
TaskOutputHandle
in the enumeration,
or null if there are no more items.
SoamException
void reset() throws SoamException
getNext
will result in the first item
being returned.
SoamException
void skip(long skipCount) throws SoamException
skipCount
items in the enumeration.
If the skipCount
is greater than the number of items left to
enumerate, the enumerator position will be set to the end of the series.
skipCount
- The number of items to skip over in the enumeration. It must greater than or equal to 0.
SoamException
long getCount() throws SoamException
SoamException
|
Version 5.0 Date Modified: -DREL_DATE=Nov 11 2009 Platform Computing. Accelerating Intelligence(TM). Copyright (C) 2001-2009 Platform Computing Corporation. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |