public class ClientMappingExternalizer extends Object implements Externalizer<org.jboss.as.network.ClientMapping>
Constructor and Description |
---|
ClientMappingExternalizer() |
Modifier and Type | Method and Description |
---|---|
Class<org.jboss.as.network.ClientMapping> |
getTargetClass()
Returns the target class of the object to externalize.
|
org.jboss.as.network.ClientMapping |
readObject(ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(ObjectOutput output,
org.jboss.as.network.ClientMapping mapping)
Writes the object reference to the stream.
|
public void writeObject(ObjectOutput output, org.jboss.as.network.ClientMapping mapping) throws IOException
Externalizer
writeObject
in interface Externalizer<org.jboss.as.network.ClientMapping>
output
- the object output to write tomapping
- the object reference to writeIOException
- if an I/O error occurspublic org.jboss.as.network.ClientMapping readObject(ObjectInput input) throws IOException
Externalizer
Externalizer.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<org.jboss.as.network.ClientMapping>
input
- the object input from which to readIOException
- if an I/O error occurspublic Class<org.jboss.as.network.ClientMapping> getTargetClass()
Externalizer
getTargetClass
in interface Externalizer<org.jboss.as.network.ClientMapping>
Copyright © 2016 JBoss by Red Hat. All rights reserved.