public enum AddressSerializer extends Enum<AddressSerializer> implements org.wildfly.clustering.marshalling.spi.Serializer<org.jgroups.Address>
Address.| Modifier and Type | Class and Description |
|---|---|
static class |
AddressSerializer.IpAddressExternalizer |
static class |
AddressSerializer.IpAddressUUIDExternalizer |
static class |
AddressSerializer.UUIDExternalizer |
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
org.jgroups.Address |
read(DataInput input) |
static AddressSerializer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressSerializer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(DataOutput output,
org.jgroups.Address address) |
public static final AddressSerializer INSTANCE
public static AddressSerializer[] values()
for (AddressSerializer c : AddressSerializer.values()) System.out.println(c);
public static AddressSerializer valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void write(DataOutput output, org.jgroups.Address address) throws IOException
write in interface org.wildfly.clustering.marshalling.spi.Serializer<org.jgroups.Address>IOExceptionpublic org.jgroups.Address read(DataInput input) throws IOException
read in interface org.wildfly.clustering.marshalling.spi.Serializer<org.jgroups.Address>IOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.