public class EventEncoder extends AbstractStreamEncoder<ForkedProcessEventType>
Constructor and Description |
---|
EventEncoder(WritableBufferedByteChannel out) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
enumToByteArray(ForkedProcessEventType e) |
protected Charset |
getCharset() |
protected byte[] |
getEncodedCharsetName() |
protected byte[] |
getEncodedMagicNumber() |
protected CharsetEncoder |
newCharsetEncoder() |
encode, encode, encodeCharset, encodeHeader, encodeHeader, encodeInteger, encodeString, estimateBufferLength, write
public EventEncoder(WritableBufferedByteChannel out)
@Nonnull protected final byte[] getEncodedMagicNumber()
getEncodedMagicNumber
in class AbstractStreamEncoder<ForkedProcessEventType>
@Nonnull protected final byte[] enumToByteArray(@Nonnull ForkedProcessEventType e)
enumToByteArray
in class AbstractStreamEncoder<ForkedProcessEventType>
@Nonnull protected final byte[] getEncodedCharsetName()
getEncodedCharsetName
in class AbstractStreamEncoder<ForkedProcessEventType>
@Nonnull protected final Charset getCharset()
getCharset
in class AbstractStreamEncoder<ForkedProcessEventType>
@Nonnull protected final CharsetEncoder newCharsetEncoder()
newCharsetEncoder
in class AbstractStreamEncoder<ForkedProcessEventType>
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.