Class EchoHandler
- java.lang.Object
-
- org.epics.pvaccess.impl.remote.request.AbstractResponseHandler
-
- org.epics.pvaccess.server.impl.remote.handlers.AbstractServerResponseHandler
-
- org.epics.pvaccess.server.impl.remote.handlers.EchoHandler
-
- All Implemented Interfaces:
ResponseHandler
public class EchoHandler extends AbstractServerResponseHandler
Echo request handler.- Version:
- $Id$
- Author:
- Matej Sekoranja
-
-
Field Summary
-
Fields inherited from class org.epics.pvaccess.server.impl.remote.handlers.AbstractServerResponseHandler
context
-
Fields inherited from class org.epics.pvaccess.impl.remote.request.AbstractResponseHandler
debug, description
-
-
Constructor Summary
Constructors Constructor Description EchoHandler(ServerContextImpl 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
-
EchoHandler
public EchoHandler(ServerContextImpl 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.
-
-