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