Class SingletonElectionCommandMarshaller
- java.lang.Object
-
- org.wildfly.clustering.singleton.server.SingletonElectionCommandMarshaller
-
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<SingletonElectionCommand>,org.infinispan.protostream.ProtobufTagMarshaller<SingletonElectionCommand>,Marshallable<SingletonElectionCommand>,ProtoStreamMarshaller<SingletonElectionCommand>,Readable<SingletonElectionCommand>,Writable<SingletonElectionCommand>
public class SingletonElectionCommandMarshaller extends Object implements ProtoStreamMarshaller<SingletonElectionCommand>
- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description SingletonElectionCommandMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends SingletonElectionCommand>getJavaClass()SingletonElectionCommandreadFrom(ProtoStreamReader reader)voidwriteTo(ProtoStreamWriter writer, SingletonElectionCommand command)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable
size
-
Methods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller
getTypeName, read, write
-
-
-
-
Method Detail
-
readFrom
public SingletonElectionCommand readFrom(ProtoStreamReader reader) throws IOException
- Specified by:
readFromin interfaceReadable<SingletonElectionCommand>- Throws:
IOException
-
writeTo
public void writeTo(ProtoStreamWriter writer, SingletonElectionCommand command) throws IOException
- Specified by:
writeToin interfaceWritable<SingletonElectionCommand>- Throws:
IOException
-
getJavaClass
public Class<? extends SingletonElectionCommand> getJavaClass()
- Specified by:
getJavaClassin interfaceorg.infinispan.protostream.BaseMarshaller<SingletonElectionCommand>- Specified by:
getJavaClassin interfaceMarshallable<SingletonElectionCommand>
-
-