public class InetAddressSerializer extends Object implements PofSerializer<InetAddress>
java.net.InetAddress.| Constructor and Description | 
|---|
InetAddressSerializer()  | 
| Modifier and Type | Method and Description | 
|---|---|
InetAddress | 
deserialize(PofReader in)
Deserialize a user type instance from a POF stream by reading its state
 using the specified PofReader object. 
 | 
void | 
serialize(PofWriter out,
         InetAddress addr)
Serialize a user type instance to a POF stream by writing its state using
 the specified PofWriter object. 
 | 
public void serialize(PofWriter out, InetAddress addr) throws IOException
PofSerializerAn implementation of PofSerializer is required to follow the following steps in sequence for writing out an object of a user type:
PofWriter.setVersionId(int).PofWriter.writeRemainder(com.tangosol.util.Binary).serialize in interface PofSerializer<InetAddress>out - the PofWriter with which to write the object's stateaddr - the object to serializeIOException - if an I/O error occurspublic InetAddress deserialize(PofReader in) throws IOException
PofSerializerAn implementation of PofSerializer is required to follow the following steps in sequence for reading in an object of a user type:
PofReader.getVersionId().PofReader.registerIdentity(java.lang.Object)
     with the new instance prior to reading any properties which are
     user type instances themselves.PofReader.readRemainder().deserialize in interface PofSerializer<InetAddress>in - the PofReader with which to read the object's stateIOException - if an I/O error occurs