Constructor and Description |
---|
ConfigRecord(Config config)
Construct a new ConfigRecord.
|
ConfigRecord(java.io.InputStream in)
Construct a new ConfigRecord and read data from an InputStream.
|
Modifier and Type | Method and Description |
---|---|
Config |
getConfig()
Get the Config.
|
RecordType |
getRecordType()
Get the type of this record.
|
void |
read(java.io.InputStream in)
Read this log record's data from a stream.
|
void |
write(java.io.OutputStream out)
Write this log record to a stream.
|
public ConfigRecord(Config config)
config
- The Config to record.public ConfigRecord(java.io.InputStream in) throws java.io.IOException
in
- The InputStream to read from.java.io.IOException
- If there is a problem reading the stream.public RecordType getRecordType()
LogRecord
getRecordType
in interface LogRecord
public void write(java.io.OutputStream out) throws java.io.IOException
LogRecord
public void read(java.io.InputStream in) throws java.io.IOException
LogRecord
public Config getConfig()