unregisterForNotification(StreamEventListener n) method

Format

void unregisterForNotification(StreamEventListener n)

Explanation

Cancels a registered listener object to prevent further execution of the callback process.

Parameters

n

Specifies a listener object.

Exceptions

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

ExceptionGeneration condition
NullPointerExceptionnull is specified for the parameter.
SDPClientException
  • No listener object is defined.
  • The output stream is already closed.
  • This method is called during RMI connection.

Return value

None.