Class ServerResponseHandler
- java.lang.Object
-
- org.epics.pvaccess.server.impl.remote.ServerResponseHandler
-
- All Implemented Interfaces:
ResponseHandler
public final class ServerResponseHandler extends Object implements ResponseHandler
PVAS request handler - main handler which dispatches requests to appropriate handlers.- Author:
- Matej Sekoranja
-
-
Constructor Summary
Constructors Constructor Description ServerResponseHandler(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
-
ServerResponseHandler
public ServerResponseHandler(ServerContextImpl context)
-
-
Method Detail
-
handleResponse
public final 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
- 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.
-
-