Class DataResponseHandler
- java.lang.Object
-
- org.epics.pvaccess.impl.remote.request.AbstractResponseHandler
-
- org.epics.pvaccess.client.impl.remote.handlers.AbstractClientResponseHandler
-
- org.epics.pvaccess.client.impl.remote.handlers.DataResponseHandler
-
- All Implemented Interfaces:
ResponseHandler
public class DataResponseHandler extends AbstractClientResponseHandler
- Version:
- $Id$
- Author:
- Matej Sekoranja
-
-
Field Summary
-
Fields inherited from class org.epics.pvaccess.client.impl.remote.handlers.AbstractClientResponseHandler
context
-
Fields inherited from class org.epics.pvaccess.impl.remote.request.AbstractResponseHandler
debug, description
-
-
Constructor Summary
Constructors Constructor Description DataResponseHandler(ClientContextImpl context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleResponse(InetSocketAddress responseFrom, Transport transport, byte version, byte command, int payloadSize, ByteBuffer payloadBuffer)
Handle response.
-
-
-
Constructor Detail
-
DataResponseHandler
public DataResponseHandler(ClientContextImpl context)
-
-
Method Detail
-
handleResponse
public void handleResponse(InetSocketAddress responseFrom, Transport transport, byte version, byte command, int payloadSize, ByteBuffer payloadBuffer)
Description copied from interface:ResponseHandler
Handle response.- Specified by:
handleResponse
in interfaceResponseHandler
- Overrides:
handleResponse
in classAbstractResponseHandler
- Parameters:
responseFrom
- remove address of the responder,null
if unknown.transport
- response source transport.version
- message version.command
- command.payloadSize
- size of this message data available in thepayloadBuffer
.payloadBuffer
- message payload data. Note that this might not be the only message in the buffer. Code must not manilupate buffer.
-
-