|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueHandler
This interface provides a way to all serialization and deserialization of objects.
Method Summary | |
---|---|
java.lang.String |
getRMIRepositoryID(java.lang.Class clz)
This method returns the RMI-style repository ID string fro clz. |
RunTime |
getRunTimeCodeBase()
This method returns the ValueHandler object's SendingContext::RunTime object reference, which is used to construct the SendingContextRuntTime service context. |
boolean |
isCustomMarshaled(java.lang.Class clz)
This method returns true if the value is custom marshaled and therefore requires a chunked encoding, and false otherwise. |
java.io.Serializable |
readValue(InputStream in,
int offset,
java.lang.Class clz,
java.lang.String repositoryID,
RunTime sender)
This method can be used to read GIOP data, including RMI remote objects and serialized data objects, from an underlaying portable InputStream. |
java.io.Serializable |
writeReplace(java.io.Serializable value)
This method returns the serialization replacement for the value object. |
void |
writeValue(OutputStream out,
java.io.Serializable value)
This method can be used to write GIOP data, including RMI remote objects and serialized data objects, to an underlying portable OutputStream. |
Method Detail |
---|
void writeValue(OutputStream out, java.io.Serializable value)
java.io.Serializable readValue(InputStream in, int offset, java.lang.Class clz, java.lang.String repositoryID, RunTime sender)
java.lang.String getRMIRepositoryID(java.lang.Class clz)
boolean isCustomMarshaled(java.lang.Class clz)
RunTime getRunTimeCodeBase()
java.io.Serializable writeReplace(java.io.Serializable value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |