public class InetSocketAddressMarshaller extends Object implements ProtoStreamMarshaller<InetSocketAddress>
InetSocketAddress.| Constructor and Description |
|---|
InetSocketAddressMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends InetSocketAddress> |
getJavaClass()
Returns the type of object handled by this marshallable instance.
|
InetSocketAddress |
readFrom(ProtoStreamReader reader)
Reads an object from the specified reader.
|
void |
writeTo(ProtoStreamWriter writer,
InetSocketAddress socketAddress)
Writes the specified object to the specified writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeName, read, writesizepublic InetSocketAddress readFrom(ProtoStreamReader reader) throws IOException
MarshallablereadFrom in interface Marshallable<InetSocketAddress>reader - a ProtoStream readerIOException - if the object could not be readpublic void writeTo(ProtoStreamWriter writer, InetSocketAddress socketAddress) throws IOException
MarshallablewriteTo in interface Marshallable<InetSocketAddress>writer - a ProtoStream writersocketAddress - the object to be writtenIOException - if the object could not be writtenpublic Class<? extends InetSocketAddress> getJavaClass()
MarshallablegetJavaClass in interface org.infinispan.protostream.BaseMarshaller<InetSocketAddress>getJavaClass in interface Marshallable<InetSocketAddress>Copyright © 2021 JBoss by Red Hat. All rights reserved.