it.eng.spagobi.tools.scheduler.dispatcher
Class SnapshootDocumentDispatchChannel

java.lang.Object
  extended by it.eng.spagobi.tools.scheduler.dispatcher.SnapshootDocumentDispatchChannel
All Implemented Interfaces:
IDocumentDispatchChannel

public class SnapshootDocumentDispatchChannel
extends java.lang.Object
implements IDocumentDispatchChannel

Author:
Andrea Gioia (andrea.gioia@eng.it)

Constructor Summary
SnapshootDocumentDispatchChannel(DispatchContext dispatchContext)
           
 
Method Summary
 boolean canDispatch(BIObject document)
           
 void close()
           
 boolean dispatch(BIObject document, byte[] executionOutput)
           
 void setDispatchContext(DispatchContext dispatchContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshootDocumentDispatchChannel

public SnapshootDocumentDispatchChannel(DispatchContext dispatchContext)
Method Detail

setDispatchContext

public void setDispatchContext(DispatchContext dispatchContext)
Specified by:
setDispatchContext in interface IDocumentDispatchChannel

close

public void close()
Specified by:
close in interface IDocumentDispatchChannel

canDispatch

public boolean canDispatch(BIObject document)
Specified by:
canDispatch in interface IDocumentDispatchChannel

dispatch

public boolean dispatch(BIObject document,
                        byte[] executionOutput)
Specified by:
dispatch in interface IDocumentDispatchChannel