Enum Class VersionMarshaller
- All Implemented Interfaces:
Serializable, Comparable<VersionMarshaller>, Constable, org.infinispan.protostream.BaseMarshaller<org.infinispan.remoting.transport.NodeVersion>, org.infinispan.protostream.ProtobufTagMarshaller<org.infinispan.remoting.transport.NodeVersion>, org.wildfly.clustering.marshalling.protostream.Marshallable<org.infinispan.remoting.transport.NodeVersion>, org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<org.infinispan.remoting.transport.NodeVersion>, org.wildfly.clustering.marshalling.protostream.Readable<org.infinispan.remoting.transport.NodeVersion>, org.wildfly.clustering.marshalling.protostream.Writable<org.infinispan.remoting.transport.NodeVersion>
public enum VersionMarshaller
extends Enum<VersionMarshaller>
implements org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<org.infinispan.remoting.transport.NodeVersion>
ProtoStream marshaller for a
NodeVersion.- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface org.infinispan.protostream.ProtobufTagMarshaller
org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, org.infinispan.protostream.ProtobufTagMarshaller.ReadContext, org.infinispan.protostream.ProtobufTagMarshaller.WriteContext -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface org.infinispan.protostream.BaseMarshaller
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends org.infinispan.remoting.transport.NodeVersion> org.infinispan.remoting.transport.NodeVersionreadFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) static VersionMarshallerReturns the enum constant of this class with the specified name.static VersionMarshaller[]values()Returns an array containing the constants of this enum class, in the order they are declared.voidwriteTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, org.infinispan.remoting.transport.NodeVersion version) Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.infinispan.protostream.BaseMarshaller
getSubClassNamesMethods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable
sizeMethods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller
getTypeName, read, wrap, wrap, write
-
Enum Constant Details
-
INSTANCE
Singleton instance
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getJavaClass
- Specified by:
getJavaClassin interfaceorg.infinispan.protostream.BaseMarshaller<org.infinispan.remoting.transport.NodeVersion>- Specified by:
getJavaClassin interfaceorg.wildfly.clustering.marshalling.protostream.Marshallable<org.infinispan.remoting.transport.NodeVersion>
-
readFrom
public org.infinispan.remoting.transport.NodeVersion readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) throws IOException - Specified by:
readFromin interfaceorg.wildfly.clustering.marshalling.protostream.Readable<org.infinispan.remoting.transport.NodeVersion>- Throws:
IOException
-
writeTo
public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, org.infinispan.remoting.transport.NodeVersion version) throws IOException - Specified by:
writeToin interfaceorg.wildfly.clustering.marshalling.protostream.Writable<org.infinispan.remoting.transport.NodeVersion>- Throws:
IOException
-