org.dvb.si
Class SIRequest

java.lang.Object
  extended byorg.dvb.si.SIRequest

public class SIRequest
extends java.lang.Object

Object instances of this class represent SI retrieval requests made by the application. The application may cancel the request using this object.


Constructor Summary
protected SIRequest()
          This constructor is provided for the use of implementations and specifications which extend the present document.
 
Method Summary
 boolean cancelRequest()
          Cancels the retrieval request.
 boolean isAvailableInCache()
          Returns whether the information will be returned from cache or from the stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIRequest

protected SIRequest()
This constructor is provided for the use of implementations and specifications which extend the present document. Applications shall not define sub-classes of this class. Implementations are not required to behave correctly if any such application defined sub-classes are used.

Method Detail

isAvailableInCache

public boolean isAvailableInCache()
Returns whether the information will be returned from cache or from the stream

Returns:
true if the information is available in the cache and will be returned from there otherwise false

cancelRequest

public boolean cancelRequest()
Cancels the retrieval request.

Returns:
true if the request was cancelled and an SIRequestCancelledEvent will be delivered to the listener, false if the request has already completed (either successfully, with an error or due to a prior cancel method call)