org.infinispan.client.hotrod.impl.protocol
Interface Codec

All Known Implementing Classes:
Codec10, Codec11

public interface Codec

A Hot Rod protocol encoder/decoder.

Since:
5.1
Author:
Galder ZamarreƱo

Method Summary
 Log getLog()
          Logger for Hot Rod client codec
 short readHeader(Transport transport, HeaderParams params)
          Reads a response header from the transport and returns the status of the response.
 HeaderParams writeHeader(Transport transport, HeaderParams params)
          Writes a request header with the given parameters to the transport and returns an updated header parameters.
 

Method Detail

writeHeader

HeaderParams writeHeader(Transport transport,
                         HeaderParams params)
Writes a request header with the given parameters to the transport and returns an updated header parameters.


readHeader

short readHeader(Transport transport,
                 HeaderParams params)
Reads a response header from the transport and returns the status of the response.


getLog

Log getLog()
Logger for Hot Rod client codec


-->

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