get() method
Format
StreamTuple get()
Explanation
Acquires a single tuple registered in the SDP server.
If there are no tuples in the output stream queue, null is returned.
If a stop notification has been issued to the query group when this method is called (a data transmission termination notification has been sent by a method, or a query group stop notification has been sent by a command), one of the following processes takes place:
This method is a polling method.
Parameters
None.
Exceptions
The following table shows the exceptions and the conditions for their generation.
Exception | Generation condition |
---|---|
SDPClientCommunicationException | A communication exception occurred during RMI connection. |
SDPClientEndOfStreamException | Processing of the transmitted data is finished. |
SDPClientException |
|
SDPClientQueryGroupHoldException | The query group is held. |
SDPClientQueryGroupNotExistException | The query group was deleted. |
SDPClientQueryGroupStateException | The query group is not being executed. |
SDPClientQueryGroupStopException | There is no result data or the query group is stopped. |
Return value
Acquired tuple (StreamTuple type object)