Enum Class AddressMarshaller

java.lang.Object
java.lang.Enum<AddressMarshaller>
org.wildfly.clustering.server.infinispan.AddressMarshaller
All Implemented Interfaces:
Serializable, Comparable<AddressMarshaller>, Constable, org.wildfly.clustering.marshalling.protostream.FieldReadable<org.infinispan.remoting.transport.Address>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<org.infinispan.remoting.transport.Address,org.infinispan.remoting.transport.Address>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple<org.infinispan.remoting.transport.Address>, org.wildfly.clustering.marshalling.protostream.Writable<org.infinispan.remoting.transport.Address>

public enum AddressMarshaller extends Enum<AddressMarshaller> implements org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple<org.infinispan.remoting.transport.Address>
Marshallers for the fields of an Address.
Author:
Paul Ferraro
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>

    Nested classes/interfaces inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller

    org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple<T extends Object>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Supplied<T extends Object,V extends Supplier<T>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.infinispan.remoting.transport.Address
     
    int
     
    org.infinispan.remoting.transport.Address
    readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader, int index, org.infinispan.protostream.descriptors.WireType type, org.infinispan.remoting.transport.Address address)
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.
    void
    writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, org.infinispan.remoting.transport.Address address)
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldReadable

    nextIndex

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller

    asMarshaller, asMarshaller

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple

    build
  • Enum Constant Details

  • Method Details

    • values

      public static AddressMarshaller[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AddressMarshaller valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • createInitialValue

      public org.infinispan.remoting.transport.Address createInitialValue()
      Specified by:
      createInitialValue in interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<org.infinispan.remoting.transport.Address,org.infinispan.remoting.transport.Address>
    • getFields

      public int getFields()
      Specified by:
      getFields in interface org.wildfly.clustering.marshalling.protostream.FieldReadable<org.infinispan.remoting.transport.Address>
    • readFrom

      public org.infinispan.remoting.transport.Address readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader, int index, org.infinispan.protostream.descriptors.WireType type, org.infinispan.remoting.transport.Address address) throws IOException
      Specified by:
      readFrom in interface org.wildfly.clustering.marshalling.protostream.FieldReadable<org.infinispan.remoting.transport.Address>
      Throws:
      IOException
    • writeTo

      public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, org.infinispan.remoting.transport.Address address) throws IOException
      Specified by:
      writeTo in interface org.wildfly.clustering.marshalling.protostream.Writable<org.infinispan.remoting.transport.Address>
      Throws:
      IOException