public class StreamSemantic.StreamConnector extends java.lang.Object implements IStreamConnector
| Constructor and Description |
|---|
StreamSemantic.StreamConnector(StreamBuffer input,
StreamBuffer output)
Creates a new stream connector that uses the specified
input and output buffers as stream providers.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getInputStream()
Returns the input stream to the buffer.
|
java.io.OutputStream |
getOutputStream()
Returns the output stream to the buffer.
|
IPlugin |
getPlugin()
Returns the plugin that created the connector.
|
void |
release()
Releases the connector by closing the underlying
input and output buffers.
|
public StreamSemantic.StreamConnector(StreamBuffer input, StreamBuffer output)
input - The input stream to read from.output - The output stream to write to.public java.io.InputStream getInputStream()
getInputStream in interface IStreamConnectorpublic java.io.OutputStream getOutputStream()
getOutputStream in interface IStreamConnectorpublic IPlugin getPlugin()
getPlugin in interface IConnectorpublic void release()
release in interface IConnector