public class BinaryFactory extends java.lang.Object implements IpcFactory
Constructor and Description |
---|
BinaryFactory() |
Modifier and Type | Method and Description |
---|---|
BinaryStreamReader |
newStreamReader(java.io.InputStream stream)
create a new BON stream reader.
|
BinaryStreamWriter |
newStreamWriter(java.io.OutputStream stream)
create a new BON stream writer.
|
public BinaryStreamReader newStreamReader(java.io.InputStream stream) throws java.io.IOException
newStreamReader
in interface IpcFactory
stream
- stream to writejava.io.IOException
- error creating or initializing the reader.public BinaryStreamWriter newStreamWriter(java.io.OutputStream stream) throws java.io.IOException
newStreamWriter
in interface IpcFactory
stream
- stream to readjava.io.IOException
- error creating or initializing the writer.