public class

OneTierRequestTask

extends AbstractResultSetBinaryResultsTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.tasks.AbstractResultSetResultsTask
       ↳ com.microstrategy.web.tasks.AbstractResultSetBinaryResultsTask
         ↳ com.microstrategy.web.tasks.OneTierRequestTask

Class Overview

This Task provides the following functionality: it can retrieve the results associated with a Report Services document in binary format. If the document has not finished executing, it can poll for the results (observing a maximum wait time and a polling frequency value). Once the document is ready, the task will fetch the binary data of the document. Currently this task is used by the dashboards in flash format

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractResultSetResultsTask
From class com.microstrategy.web.tasks.AbstractBaseTask
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractResultSetBinaryResultsTask
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
OneTierRequestTask()
Protected Methods
byte[] getBinaryResults(RequestKeys rk, String sessionID, String messageID, int resultFlags, int detailFlags, int stateID, IntWrapper iwStatus)
String getClassName()
int getStatus(RequestKeys rk, String sessionID)
void pollStatus(TaskRequestContext context, TaskOutput taskOutput)
void preCollectData(TaskRequestContext context, TaskOutput taskOutput)
boolean sendBinary(TaskRequestContext context, TaskOutput taskOutput)
void sendBinaryResults(RequestKeys rk, String sessionID, String messageID, int resultFlags, int detailFlags, int stateID, IntWrapper iwStatus, IContentConsumer consumer)
[Expand]
Inherited Methods
From class com.microstrategy.web.tasks.AbstractResultSetBinaryResultsTask
From class com.microstrategy.web.tasks.AbstractResultSetResultsTask
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Public Constructors

public OneTierRequestTask ()

Protected Methods

protected byte[] getBinaryResults (RequestKeys rk, String sessionID, String messageID, int resultFlags, int detailFlags, int stateID, IntWrapper iwStatus)

protected String getClassName ()

protected int getStatus (RequestKeys rk, String sessionID)

protected void pollStatus (TaskRequestContext context, TaskOutput taskOutput)

protected void preCollectData (TaskRequestContext context, TaskOutput taskOutput)

protected boolean sendBinary (TaskRequestContext context, TaskOutput taskOutput)

protected void sendBinaryResults (RequestKeys rk, String sessionID, String messageID, int resultFlags, int detailFlags, int stateID, IntWrapper iwStatus, IContentConsumer consumer)