org.ipdr.xdr
Class IPDRXDRRecordHelper
java.lang.Object
org.ipdr.xdr.IPDRXDRRecordHelper
public abstract class IPDRXDRRecordHelper
- extends java.lang.Object
This class is used for writing IPDR Records to the output stream
and reading IPDR Records from the input stream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPDRXDRRecordHelper
public IPDRXDRRecordHelper()
read
public static IPDRRecord read(XDRUnMarshaller istream,
CompositeType[] tlist)
throws java.io.IOException,
BadCompositeException,
IPDRException
- Method used to read a IPDR Record from the input stream.
- Parameters:
istream
- Input stream to read fromtlist
- List of Composite Types
- Returns:
- IPDR Record read
- Throws:
java.io.IOException
- when an exception occurs while reading
IPDRException
- when a IPDR functionality related exception occurs
BadCompositeException
- when an exception occurs creation of
Composite Data
write
public static void write(XDRMarshaller ostream,
IPDRRecord value)
throws java.io.IOException,
IPDRException
- Method used to write a IPDR Record to the output stream.
- Parameters:
ostream
- Output stream to write tovalue
- IPDR Record to write
- Throws:
java.io.IOException
- when an exception occurs while writing
IPDRException