Package deltix.qsrv.hf.stream
Class MessageWriter
- java.lang.Object
-
- deltix.qsrv.hf.stream.MessageWriter
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
@Deprecated public class MessageWriter extends java.lang.Object implements java.io.Closeable, java.io.FlushableDeprecated.Deprecated by MessageWriter2
-
-
Constructor Summary
Constructors Constructor Description MessageWriter(java.io.File f)Deprecated.MessageWriter(java.io.File f, int bufferSize)Deprecated.MessageWriter(java.io.OutputStream out)Deprecated.MessageWriter(java.lang.String path)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage>asChannel()Deprecated.voidclose()Deprecated.voidflush()Deprecated.voidwrite(deltix.qsrv.hf.pub.InstrumentMessage imsg)Deprecated.
-
-
-
Constructor Detail
-
MessageWriter
public MessageWriter(java.io.OutputStream out)
Deprecated.
-
MessageWriter
public MessageWriter(java.io.File f) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
MessageWriter
public MessageWriter(java.io.File f, int bufferSize) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
MessageWriter
public MessageWriter(java.lang.String path) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-
Method Detail
-
asChannel
public deltix.data.stream.MessageChannel<deltix.qsrv.hf.pub.InstrumentMessage> asChannel()
Deprecated.
-
close
public void close() throws java.io.IOExceptionDeprecated.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOExceptionDeprecated.- Specified by:
flushin interfacejava.io.Flushable- Throws:
java.io.IOException
-
write
public void write(deltix.qsrv.hf.pub.InstrumentMessage imsg) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-