public class QDataSetStreamHandler extends java.lang.Object implements StreamHandler
which reads into the old model.
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
MODE_SPLIT_BY_NEW_PACKET_DESCRIPTOR |
static java.lang.Object |
MODE_SPLIT_BY_PACKET_DESCRIPTOR |
Constructor and Description |
---|
QDataSetStreamHandler() |
Modifier and Type | Method and Description |
---|---|
void |
collectDataSet()
TODO: mission statement
|
void |
createBuilders(PacketDescriptor pd) |
QDataSet |
getDataSet()
return the dataset collected by the handler, or null if no records have been received.
|
void |
packet(PacketDescriptor pd,
Datum xTag,
DatumVector[] vectors) |
void |
packetDescriptor(PacketDescriptor pd) |
void |
setMonitor(ProgressMonitor monitor) |
void |
streamClosed(StreamDescriptor sd) |
void |
streamComment(StreamComment sc) |
void |
streamDescriptor(StreamDescriptor sd) |
void |
streamException(StreamException se) |
public static final java.lang.Object MODE_SPLIT_BY_PACKET_DESCRIPTOR
public static final java.lang.Object MODE_SPLIT_BY_NEW_PACKET_DESCRIPTOR
public void setMonitor(ProgressMonitor monitor)
public void streamDescriptor(StreamDescriptor sd) throws StreamException
streamDescriptor
in interface StreamHandler
StreamException
public void packetDescriptor(PacketDescriptor pd) throws StreamException
packetDescriptor
in interface StreamHandler
StreamException
public void packet(PacketDescriptor pd, Datum xTag, DatumVector[] vectors) throws StreamException
packet
in interface StreamHandler
StreamException
public void streamClosed(StreamDescriptor sd) throws StreamException
streamClosed
in interface StreamHandler
StreamException
public void streamException(StreamException se) throws StreamException
streamException
in interface StreamHandler
StreamException
public void streamComment(StreamComment sc) throws StreamException
streamComment
in interface StreamHandler
StreamException
public void createBuilders(PacketDescriptor pd)
public void collectDataSet()
public QDataSet getDataSet()