public class TextFileMessageHandler extends MessageHandler
| Constructor and Description |
|---|
TextFileMessageHandler(Path path)
Creates a new text file message handler
|
| Modifier and Type | Method and Description |
|---|---|
SeekableByteChannel |
getChannel()
Gets the seekable byte channel
|
Path |
getPath()
Gets the path
|
void |
submit(Message message)
Submits a message
|
public TextFileMessageHandler(Path path) throws IOException
path - The path to useIOException - Any exceptions that occurpublic Path getPath()
public SeekableByteChannel getChannel()
public void submit(Message message) throws Exception
submit in class MessageHandlermessage - The message to submitException - Any exceptions that are thrownCopyright © 2012 Massive Dynamics. All Rights Reserved.