Class DefaultProtoStreamWriter
- java.lang.Object
-
- org.wildfly.clustering.marshalling.protostream.DefaultProtoStreamOperation
-
- org.wildfly.clustering.marshalling.protostream.AbstractProtoStreamWriter
-
- org.wildfly.clustering.marshalling.protostream.DefaultProtoStreamWriter
-
- All Implemented Interfaces:
org.infinispan.protostream.ProtobufTagMarshaller.OperationContext,org.infinispan.protostream.ProtobufTagMarshaller.WriteContext,org.infinispan.protostream.RawProtoStreamWriter,org.infinispan.protostream.TagWriter,ProtoStreamOperation,ProtoStreamWriter
public class DefaultProtoStreamWriter extends AbstractProtoStreamWriter
ProtoStreamWriterimplementation that writes to aCodedOutputStream.- Author:
- Paul Ferraro
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamOperation
ProtoStreamOperation.Context
-
-
Constructor Summary
Constructors Constructor Description DefaultProtoStreamWriter(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteObjectNoTag(Object value)Writes the specified object.-
Methods inherited from class org.wildfly.clustering.marshalling.protostream.AbstractProtoStreamWriter
depth, flush, getWriter, writeBool, writeBytes, writeBytes, writeBytes, writeDouble, writeEnum, writeFixed32, writeFixed64, writeFloat, writeInt32, writeInt64, writeRawByte, writeRawBytes, writeRawBytes, writeSFixed32, writeSFixed64, writeSInt32, writeSInt64, writeString, writeTag, writeUInt32, writeUInt64, writeVarint32, writeVarint64
-
Methods inherited from class org.wildfly.clustering.marshalling.protostream.DefaultProtoStreamOperation
getParam, getSerializationContext, setParam
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.protostream.ProtobufTagMarshaller.OperationContext
getParam, getSerializationContext, setParam
-
Methods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamOperation
findMarshaller, getSerializationContext
-
Methods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter
getContext, writeAny, writeEnum, writeObject, writeTag
-
-
-
-
Method Detail
-
writeObjectNoTag
public void writeObjectNoTag(Object value) throws IOException
Description copied from interface:ProtoStreamWriterWrites the specified object. Must be preceded by {TagWriter.writeTag(int, org.infinispan.protostream.descriptors.WireType).- Parameters:
value- a value to be written- Throws:
IOException- if no marshaller is associated with the type of the specified object, or if the marshaller fails to write the specified object
-
-