public static final class Externalizers.QueryResponseExternalizer extends java.lang.Object implements Externalizer<QueryResponse>
| Constructor and Description |
|---|
QueryResponseExternalizer() |
| Modifier and Type | Method and Description |
|---|---|
QueryResponse |
readObject(java.io.ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(java.io.ObjectOutput output,
QueryResponse queryResponse)
Write the object reference to the stream.
|
public void writeObject(java.io.ObjectOutput output,
QueryResponse queryResponse)
throws java.io.IOException
ExternalizerwriteObject in interface Externalizer<QueryResponse>output - the object output to write toqueryResponse - the object reference to writejava.io.IOException - if an I/O error occurspublic QueryResponse readObject(java.io.ObjectInput input) throws java.io.IOException, java.lang.ClassNotFoundException
ExternalizerExternalizer.writeObject(ObjectOutput, Object) method. Implementations are free
to create instances of the object read from the stream in any way that they
feel like. This could be via constructor, factory or reflection.readObject in interface Externalizer<QueryResponse>input - the object input to read fromjava.io.IOException - if an I/O error occursjava.lang.ClassNotFoundException - if a class could not be found