Modifier and Type | Method and Description |
---|---|
Log |
getLog()
Logger for Hot Rod client codec
|
ClientEvent |
readEvent(Transport transport,
byte[] expectedListenerId,
Marshaller marshaller) |
short |
readHeader(Transport transport,
HeaderParams params)
Reads a response header from the transport and returns the status
of the response.
|
Either<Short,ClientEvent> |
readHeaderOrEvent(Transport transport,
HeaderParams params,
byte[] expectedListenerId,
Marshaller marshaller) |
<T> T |
readUnmarshallByteArray(Transport transport,
short status)
Read and unmarshall byte array.
|
Object |
returnPossiblePrevValue(Transport transport,
short status,
int flags) |
void |
writeClientListenerParams(Transport transport,
ClientListener clientListener,
byte[][] filterFactoryParams,
byte[][] converterFactoryParams)
Writes client listener parameters
|
void |
writeExpirationParams(Transport transport,
long lifespan,
TimeUnit lifespanTimeUnit,
long maxIdle,
TimeUnit maxIdleTimeUnit)
Write lifespan/maxidle parameters.
|
HeaderParams |
writeHeader(Transport transport,
HeaderParams params)
Writes a request header with the given parameters to the transport and
returns an updated header parameters.
|
HeaderParams writeHeader(Transport transport, HeaderParams params)
void writeClientListenerParams(Transport transport, ClientListener clientListener, byte[][] filterFactoryParams, byte[][] converterFactoryParams)
void writeExpirationParams(Transport transport, long lifespan, TimeUnit lifespanTimeUnit, long maxIdle, TimeUnit maxIdleTimeUnit)
short readHeader(Transport transport, HeaderParams params)
ClientEvent readEvent(Transport transport, byte[] expectedListenerId, Marshaller marshaller)
Either<Short,ClientEvent> readHeaderOrEvent(Transport transport, HeaderParams params, byte[] expectedListenerId, Marshaller marshaller)
Object returnPossiblePrevValue(Transport transport, short status, int flags)
Log getLog()
<T> T readUnmarshallByteArray(Transport transport, short status)
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.