org.xmlBlaster.util.recorder.file
Class MsgDataHandler
java.lang.Object
org.xmlBlaster.util.recorder.file.MsgDataHandler
- All Implemented Interfaces:
- I_UserDataHandler
- final class MsgDataHandler
- extends java.lang.Object
- implements I_UserDataHandler
Reads/writes publish()/subscribe() etc. data to/from disk.
The two methods to the marshalling of message data.
Field Summary |
private Global |
glob
|
private java.lang.String |
ME
|
Method Summary |
java.lang.Object |
readData(java.io.RandomAccessFile ra)
Access your data from RandomAccessFile again |
void |
writeData(java.io.RandomAccessFile ra,
java.lang.Object userData)
Write your data to RandomAccessFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
glob
private final Global glob
ME
private final java.lang.String ME
- See Also:
- Constant Field Values
MsgDataHandler
public MsgDataHandler(Global glob)
writeData
public final void writeData(java.io.RandomAccessFile ra,
java.lang.Object userData)
throws java.io.IOException,
XmlBlasterException
- Description copied from interface:
I_UserDataHandler
- Write your data to RandomAccessFile
- Specified by:
writeData
in interface I_UserDataHandler
- Throws:
java.io.IOException
XmlBlasterException
readData
public final java.lang.Object readData(java.io.RandomAccessFile ra)
throws java.io.IOException,
XmlBlasterException
- Description copied from interface:
I_UserDataHandler
- Access your data from RandomAccessFile again
- Specified by:
readData
in interface I_UserDataHandler
- Throws:
java.io.IOException
XmlBlasterException
Copyright © 1999-2007 The xmlBlaster.org contributers.