public class InetAddressExternalizer<A extends InetAddress> extends Object implements Externalizer<A>
| Constructor and Description |
|---|
InetAddressExternalizer(Class<A> targetClass,
OptionalInt size) |
| Modifier and Type | Method and Description |
|---|---|
Class<A> |
getTargetClass() |
A |
readObject(ObjectInput input) |
OptionalInt |
size(A address) |
void |
writeObject(ObjectOutput output,
A address) |
public InetAddressExternalizer(Class<A> targetClass, OptionalInt size)
public void writeObject(ObjectOutput output, A address) throws IOException
writeObject in interface Externalizer<A extends InetAddress>IOExceptionpublic A readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface Externalizer<A extends InetAddress>IOExceptionClassNotFoundExceptionpublic Class<A> getTargetClass()
getTargetClass in interface Externalizer<A extends InetAddress>public OptionalInt size(A address)
size in interface Externalizer<A extends InetAddress>Copyright © 2022 JBoss by Red Hat. All rights reserved.