Class WrappedMessageByteBufferMarshaller
java.lang.Object
org.wildfly.clustering.marshalling.protostream.WrappedMessageByteBufferMarshaller
- All Implemented Interfaces:
ByteBufferMarshaller,Marshallability,Marshaller<Object,ByteBuffer>
A
ByteBufferMarshaller based on a ProtoStream WrappedMessage.- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.marshalling.ByteBufferMarshaller
LOGGERFields inherited from interface org.wildfly.clustering.marshalling.Marshallability
TRUE -
Constructor Summary
ConstructorsConstructorDescriptionWrappedMessageByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMarshallable(Object object) readFrom(InputStream input) voidwriteTo(OutputStream output, Object object) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.ByteBufferMarshaller
getContextProvider, read, write
-
Constructor Details
-
WrappedMessageByteBufferMarshaller
public WrappedMessageByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context)
-
-
Method Details
-
isMarshallable
- Specified by:
isMarshallablein interfaceMarshallability
-
readFrom
- Specified by:
readFromin interfaceByteBufferMarshaller- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceByteBufferMarshaller- Throws:
IOException
-
size
- Specified by:
sizein interfaceByteBufferMarshaller
-