org.das2.client
Class DataSetStreamHandler

java.lang.Object
  extended by org.das2.client.DataSetStreamHandler
All Implemented Interfaces:
StreamHandler

public class DataSetStreamHandler
extends java.lang.Object
implements StreamHandler


Constructor Summary
DataSetStreamHandler(java.util.Map extraProperties, ProgressMonitor monitor)
           
 
Method Summary
 DataSet getDataSet()
           
 void packet(PacketDescriptor pd, Datum xTag, DatumVector[] vectors)
           
 void packetDescriptor(PacketDescriptor pd)
           
 void streamClosed(StreamDescriptor sd)
           
 void streamComment(StreamComment sc)
           
 void streamDescriptor(StreamDescriptor sd)
           
 void streamException(StreamException se)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSetStreamHandler

public DataSetStreamHandler(java.util.Map extraProperties,
                            ProgressMonitor monitor)
Method Detail

streamDescriptor

public void streamDescriptor(StreamDescriptor sd)
                      throws StreamException
Specified by:
streamDescriptor in interface StreamHandler
Throws:
StreamException

packetDescriptor

public void packetDescriptor(PacketDescriptor pd)
                      throws StreamException
Specified by:
packetDescriptor in interface StreamHandler
Throws:
StreamException

packet

public void packet(PacketDescriptor pd,
                   Datum xTag,
                   DatumVector[] vectors)
            throws StreamException
Specified by:
packet in interface StreamHandler
Throws:
StreamException

streamClosed

public void streamClosed(StreamDescriptor sd)
                  throws StreamException
Specified by:
streamClosed in interface StreamHandler
Throws:
StreamException

streamException

public void streamException(StreamException se)
                     throws StreamException
Specified by:
streamException in interface StreamHandler
Throws:
StreamException

streamComment

public void streamComment(StreamComment sc)
                   throws StreamException
Specified by:
streamComment in interface StreamHandler
Throws:
StreamException

getDataSet

public DataSet getDataSet()