public interface NetStreamDecoder
Modifier and Type | Method and Description |
---|---|
void |
decodeMessage(InputStream in)
Decode one message.
|
ThreadProxyPipe |
getDefaultStream()
Gives the default stream (a ThreadProxyPipe) identified with the name
"default".
|
ThreadProxyPipe |
getStream(String name)
Gives the stream (a ThreadProxyPipe) identified with this name.
|
void |
register(String name,
ThreadProxyPipe stream)
Register a stream.
|
void |
setDebugOn(boolean on)
Enable or disable debugging.
|
ThreadProxyPipe getStream(String name)
name
- Identifier of the stream.ThreadProxyPipe getDefaultStream()
void register(String name, ThreadProxyPipe stream) throws Exception
name
- Filter only message with this name to the given message box.stream
- The ThreadProxyPipe to push the events to.Exception
- If another Pipe is already registered at the given name.void decodeMessage(InputStream in) throws IOException
IOException
void setDebugOn(boolean on)
Copyright © 2015. All rights reserved.