putEnd() method

Format

void putEnd()

Explanation

Notifies the input stream that there is no more stream data.

After an input completion notification is sent by this method and before a query group is resumed, if the put or putEnd method is executed, an exception is returned.

Parameters

None.

Exceptions

The following table shows the exceptions and the conditions for their generation.

ExceptionGeneration condition
SDPClientCommunicationExceptionA communication exception occurred during RMI connection.
SDPClientException
  • The input stream is already closed.
  • The input stream has already stopped accepting stream data.
SDPClientQueryGroupHoldExceptionThe query group is held.
SDPClientQueryGroupNotExistExceptionThe query group was deleted.
SDPClientQueryGroupStateExceptionThe query group is not being executed.
SDPClientQueryGroupStopExceptionThe query group is stopped.

Return value

None.