Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.tv.service
Interface SIRequest


public interface SIRequest

An SIRequest object is used to cancel a pending asynchronous SI retrieval operation. Individual asynchronous SI retrieval operations are identified by unique SIRequest objects generated at the time the operation is initiated.

See Also:
SIRequestor

Method Summary
 boolean cancel()
          Cancels a pending SI retrieval request.
 

Method Detail

cancel

public boolean cancel()
Cancels a pending SI retrieval request. If the request is still pending and can be canceled then the notifyFailure() method of the SIRequestor that initiated the asynchronous retrieval will be called with the SIRequestFailureType code of CANCELED. If the request is no longer pending then no action is performed.

Returns:
true if the request was pending and successfully canceled; false otherwise.
See Also:
SIRequestor.notifyFailure(javax.tv.service.SIRequestFailureType), SIRequestFailureType.CANCELED

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.