Class InetSocketAddressExternalizer
- java.lang.Object
-
- org.wildfly.clustering.marshalling.spi.net.InetSocketAddressExternalizer
-
- All Implemented Interfaces:
Externalizer<InetSocketAddress>
public class InetSocketAddressExternalizer extends Object implements Externalizer<InetSocketAddress>
- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description InetSocketAddressExternalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<InetSocketAddress>getTargetClass()InetSocketAddressreadObject(ObjectInput input)OptionalIntsize(InetSocketAddress socketAddress)voidwriteObject(ObjectOutput output, InetSocketAddress socketAddress)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, InetSocketAddress socketAddress) throws IOException
- Specified by:
writeObjectin interfaceExternalizer<InetSocketAddress>- Throws:
IOException
-
readObject
public InetSocketAddress readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceExternalizer<InetSocketAddress>- Throws:
IOExceptionClassNotFoundException
-
getTargetClass
public Class<InetSocketAddress> getTargetClass()
- Specified by:
getTargetClassin interfaceExternalizer<InetSocketAddress>
-
size
public OptionalInt size(InetSocketAddress socketAddress)
- Specified by:
sizein interfaceExternalizer<InetSocketAddress>
-
-