protected static class PDC.Mapping extends java.lang.Object implements Streamable
Modifier and Type | Field and Description |
---|---|
protected Address |
logical_addr |
protected java.lang.String |
logical_name |
protected Address |
physical_addr |
Constructor and Description |
---|
Mapping() |
Mapping(Address logical_addr,
PhysicalAddress physical_addr,
java.lang.String logical_name) |
Modifier and Type | Method and Description |
---|---|
Address |
getLogicalAddr() |
java.lang.String |
getLogicalName() |
Address |
getPhysicalAddr() |
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected Address logical_addr
protected Address physical_addr
protected java.lang.String logical_name
public Mapping()
public Mapping(Address logical_addr, PhysicalAddress physical_addr, java.lang.String logical_name)
public Address getLogicalAddr()
public Address getPhysicalAddr()
public java.lang.String getLogicalName()
public void writeTo(java.io.DataOutput out) throws java.lang.Exception
Streamable
writeTo
in interface Streamable
java.lang.Exception
public void readFrom(java.io.DataInput in) throws java.lang.Exception
Streamable
readFrom
in interface Streamable
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1998-2020 Red Hat. All Rights Reserved.