Uses of Interface
org.apache.mina.filter.codec.ProtocolDecoderOutput
-
Packages that use ProtocolDecoderOutput Package Description org.apache.directory.api.ldap.codec.protocol.mina org.apache.mina.filter.codec Filter implementations that helps you to implement complex protocols via 'codec' concept.org.apache.mina.filter.codec.demux Protocol codecs that helps you to implement even more complex protocols by splitting a codec into multiple sub-codecs.org.apache.mina.filter.codec.prefixedstring org.apache.mina.filter.codec.serialization Protocol codecs which uses Java object serilization and leads to rapid protocol implementation.org.apache.mina.filter.codec.statemachine org.apache.mina.filter.codec.textline A protocol codec for text-based protocols. -
-
Uses of ProtocolDecoderOutput in org.apache.directory.api.ldap.codec.protocol.mina
Methods in org.apache.directory.api.ldap.codec.protocol.mina with parameters of type ProtocolDecoderOutput Modifier and Type Method Description voidLdapProtocolDecoder. decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Decodes binary or protocol-specific content into higher-level message objects.voidLdapProtocolDecoder. finishDecode(IoSession session, ProtocolDecoderOutput out)Invoked when the specifiedsessionis closed. -
Uses of ProtocolDecoderOutput in org.apache.mina.filter.codec
Classes in org.apache.mina.filter.codec that implement ProtocolDecoderOutput Modifier and Type Class Description classAbstractProtocolDecoderOutputAProtocolDecoderOutputbased on queue.Methods in org.apache.mina.filter.codec that return ProtocolDecoderOutput Modifier and Type Method Description ProtocolDecoderOutputProtocolCodecSession. getDecoderOutput()Methods in org.apache.mina.filter.codec with parameters of type ProtocolDecoderOutput Modifier and Type Method Description voidCumulativeProtocolDecoder. decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Cumulates content ofininto internal buffer and forwards decoding request to doDecode(IoSession, IoBuffer, ProtocolDecoderOutput).voidProtocolDecoder. decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Decodes binary or protocol-specific content into higher-level message objects.voidSynchronizedProtocolDecoder. decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Decodes binary or protocol-specific content into higher-level message objects.protected abstract booleanCumulativeProtocolDecoder. doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Implement this method to consume the specified cumulative buffer and decode its content into message(s).voidProtocolDecoder. finishDecode(IoSession session, ProtocolDecoderOutput out)Invoked when the specifiedsessionis closed.voidProtocolDecoderAdapter. finishDecode(IoSession session, ProtocolDecoderOutput out)Override this method to deal with the closed connection.voidSynchronizedProtocolDecoder. finishDecode(IoSession session, ProtocolDecoderOutput out)Invoked when the specifiedsessionis closed. -
Uses of ProtocolDecoderOutput in org.apache.mina.filter.codec.demux
Methods in org.apache.mina.filter.codec.demux with parameters of type ProtocolDecoderOutput Modifier and Type Method Description MessageDecoderResultMessageDecoder. decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Decodes binary or protocol-specific content into higher-level message objects.protected booleanDemuxingProtocolDecoder. doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Implement this method to consume the specified cumulative buffer and decode its content into message(s).voidDemuxingProtocolDecoder. finishDecode(IoSession session, ProtocolDecoderOutput out)Override this method to deal with the closed connection.voidMessageDecoder. finishDecode(IoSession session, ProtocolDecoderOutput out)Invoked when the specifiedsessionis closed while this decoder was parsing the data.voidMessageDecoderAdapter. finishDecode(IoSession session, ProtocolDecoderOutput out)Override this method to deal with the closed connection. -
Uses of ProtocolDecoderOutput in org.apache.mina.filter.codec.prefixedstring
Methods in org.apache.mina.filter.codec.prefixedstring with parameters of type ProtocolDecoderOutput Modifier and Type Method Description protected booleanPrefixedStringDecoder. doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Implement this method to consume the specified cumulative buffer and decode its content into message(s). -
Uses of ProtocolDecoderOutput in org.apache.mina.filter.codec.serialization
Methods in org.apache.mina.filter.codec.serialization with parameters of type ProtocolDecoderOutput Modifier and Type Method Description protected booleanObjectSerializationDecoder. doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Implement this method to consume the specified cumulative buffer and decode its content into message(s). -
Uses of ProtocolDecoderOutput in org.apache.mina.filter.codec.statemachine
Methods in org.apache.mina.filter.codec.statemachine with parameters of type ProtocolDecoderOutput Modifier and Type Method Description DecodingStateConsumeToCrLfDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateConsumeToDynamicTerminatorDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateConsumeToEndOfSessionDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateConsumeToTerminatorDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateCrLfDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateDecodingStateMachine. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.voidDecodingStateProtocolDecoder. decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Decodes binary or protocol-specific content into higher-level message objects.DecodingStateFixedLengthDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateIntegerDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateShortIntegerDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateSingleByteDecodingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.DecodingStateSkippingState. decode(IoBuffer in, ProtocolDecoderOutput out)Invoked when data is available for this state.protected abstract DecodingStateConsumeToCrLfDecodingState. finishDecode(IoBuffer product, ProtocolDecoderOutput out)Invoked when this state has reached aCRLF.DecodingStateConsumeToCrLfDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.protected abstract DecodingStateConsumeToDynamicTerminatorDecodingState. finishDecode(IoBuffer product, ProtocolDecoderOutput out)Invoked when this state has reached the terminator byte.DecodingStateConsumeToDynamicTerminatorDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.protected abstract DecodingStateConsumeToEndOfSessionDecodingState. finishDecode(IoBuffer product, ProtocolDecoderOutput out)Invoked when this state has consumed all bytes until the session is closed.DecodingStateConsumeToEndOfSessionDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.protected abstract DecodingStateConsumeToTerminatorDecodingState. finishDecode(IoBuffer product, ProtocolDecoderOutput out)Invoked when this state has reached the terminator byte.DecodingStateConsumeToTerminatorDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.protected abstract DecodingStateCrLfDecodingState. finishDecode(boolean foundCRLF, ProtocolDecoderOutput out)Invoked when this state has found aCRLF.DecodingStateCrLfDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.DecodingStateDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.protected abstract DecodingStateDecodingStateMachine. finishDecode(List<Object> childProducts, ProtocolDecoderOutput out)Called once the state machine has reached its end.DecodingStateDecodingStateMachine. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.voidDecodingStateProtocolDecoder. finishDecode(IoSession session, ProtocolDecoderOutput out)Invoked when the specifiedsessionis closed.protected abstract DecodingStateFixedLengthDecodingState. finishDecode(IoBuffer product, ProtocolDecoderOutput out)Invoked when this state has consumed the configured number of bytes.DecodingStateFixedLengthDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.protected abstract DecodingStateIntegerDecodingState. finishDecode(int value, ProtocolDecoderOutput out)Invoked when this state has consumed a completeint.DecodingStateIntegerDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.protected abstract DecodingStateShortIntegerDecodingState. finishDecode(short value, ProtocolDecoderOutput out)Invoked when this state has consumed a completeshort.DecodingStateShortIntegerDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.protected abstract DecodingStateSingleByteDecodingState. finishDecode(byte b, ProtocolDecoderOutput out)Invoked when this state has consumed a completebyte.DecodingStateSingleByteDecodingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed.DecodingStateSkippingState. finishDecode(ProtocolDecoderOutput out)Invoked when the associatedIoSessionis closed. -
Uses of ProtocolDecoderOutput in org.apache.mina.filter.codec.textline
Methods in org.apache.mina.filter.codec.textline with parameters of type ProtocolDecoderOutput Modifier and Type Method Description voidTextLineDecoder. decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)Decodes binary or protocol-specific content into higher-level message objects.voidTextLineDecoder. finishDecode(IoSession session, ProtocolDecoderOutput out)Invoked when the specifiedsessionis closed.protected voidTextLineDecoder. writeText(IoSession session, String text, ProtocolDecoderOutput out)By default, this method propagates the decoded line of text toProtocolDecoderOutput#write(Object).
-