|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.io.pof.PrincipalPofSerializer
public class PrincipalPofSerializer
PofSerializer implementation that can serialize and deserialize a Principal to/from a POF stream. <p/> The PrincipalPofSerializer can serialize any Principal implementation to a POF stream; however, the Principals returned during deserialization are always instances of the PofPrincipal class.
| Constructor Summary | |
|---|---|
PrincipalPofSerializer()Default constructor. |
|
| Method Summary | |
|---|---|
Object |
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, Object o)Serialize a user type instance to a POF stream by writing its state using the specified PofWriter object. |
| Constructor Detail |
|---|
public PrincipalPofSerializer()
| Method Detail |
|---|
public void serialize(PofWriter out,
Object o)
throws IOException
PofWriter.setVersionId(int).PofWriter.writeRemainder(com.tangosol.util.Binary).serialize in interface PofSerializerout - the PofWriter with which to write the object's stateo - the object to serializeIOException - if an I/O error occurs
public Object deserialize(PofReader in)
throws IOException
PofWriter.getVersionId().PofReader.readRemainder().deserialize in interface PofSerializerin - the PofReader with which to read the object's stateIOException - if an I/O error occurs
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||