Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.client.hotrod.impl.protocol
Class Codec12

java.lang.Object
  extended by org.infinispan.client.hotrod.impl.protocol.Codec10
      extended by org.infinispan.client.hotrod.impl.protocol.Codec11
          extended by org.infinispan.client.hotrod.impl.protocol.Codec12
All Implemented Interfaces:
Codec

public class Codec12
extends Codec11

A Hot Rod encoder/decoder for version 1.2 of the protocol.

Since:
5.2
Author:
Tristan Tarrant, Galder ZamarreƱo

Constructor Summary
Codec12()
           
 
Method Summary
 Log getLog()
          Logger for Hot Rod client codec
 HeaderParams writeHeader(Transport transport, HeaderParams params)
          Writes a request header with the given parameters to the transport and returns an updated header parameters.
protected  HeaderParams writeHeader(Transport transport, HeaderParams params, byte version)
           
 
Methods inherited from class org.infinispan.client.hotrod.impl.protocol.Codec11
computeNewHashes
 
Methods inherited from class org.infinispan.client.hotrod.impl.protocol.Codec10
checkForErrorsInResponseStatus, readHeader, readNewTopologyAndHash, readNewTopologyIfPresent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Codec12

public Codec12()
Method Detail

writeHeader

public HeaderParams writeHeader(Transport transport,
                                HeaderParams params)
Description copied from interface: Codec
Writes a request header with the given parameters to the transport and returns an updated header parameters.

Specified by:
writeHeader in interface Codec
Overrides:
writeHeader in class Codec11

writeHeader

protected HeaderParams writeHeader(Transport transport,
                                   HeaderParams params,
                                   byte version)
Overrides:
writeHeader in class Codec10

getLog

public Log getLog()
Description copied from interface: Codec
Logger for Hot Rod client codec

Specified by:
getLog in interface Codec
Overrides:
getLog in class Codec11

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.