I - the type of the accepted inbound objectsO - the type of the produced outbound objects, or Void if no
output is produced (e.g. a logging codec)public interface ICodec<I,O>
interface for the encoders and decoders. It is
responsible for determining the types of the inbound and outbound objects
which are accepted and produced by given encoder or decoder.| Modifier and Type | Method and Description |
|---|---|
Class<I> |
getInboundType()
Returns the type of the accepted inbound objects.
|
Class<O> |
getOutboundType()
Returns the type of the produced outbound objects.
|
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.