public enum AddressMarshaller extends Enum<AddressMarshaller> implements FieldSetMarshaller<org.jgroups.Address,org.jgroups.Address>
Address.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
org.jgroups.Address |
getBuilder() |
int |
getFields() |
org.jgroups.Address |
readField(ProtoStreamReader reader,
int index,
org.jgroups.Address address) |
static AddressMarshaller |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressMarshaller[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeFields(ProtoStreamWriter writer,
int startIndex,
org.jgroups.Address address) |
public static final AddressMarshaller INSTANCE
public static AddressMarshaller[] values()
for (AddressMarshaller c : AddressMarshaller.values()) System.out.println(c);
public static AddressMarshaller 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 org.jgroups.Address getBuilder()
getBuilder in interface FieldSetMarshaller<org.jgroups.Address,org.jgroups.Address>public int getFields()
getFields in interface FieldSetMarshaller<org.jgroups.Address,org.jgroups.Address>public org.jgroups.Address readField(ProtoStreamReader reader, int index, org.jgroups.Address address) throws IOException
readField in interface FieldSetMarshaller<org.jgroups.Address,org.jgroups.Address>IOExceptionpublic void writeFields(ProtoStreamWriter writer, int startIndex, org.jgroups.Address address) throws IOException
writeFields in interface FieldSetMarshaller<org.jgroups.Address,org.jgroups.Address>IOExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.