com.prosysopc.ua.server
Interface RequestResponseListener


public interface RequestResponseListener

Listener for logging every Request-Response message. Called whenever a Request will be answered with a Response. The method is called after the server has handled the request and formed the response (it may have been sent to the client already). This Listener should be only used for logging purposes. The method should return right away and log asynchronously or be very quick. The method is not allowed to modify the contents of request or response.


Method Summary
 void onRequestResponse(org.opcfoundation.ua.builtintypes.ServiceRequest request, org.opcfoundation.ua.builtintypes.ServiceResponse response)
          Called whenever a Request will be answered with a Response The method is called after the server has handled the request and formed the response (it may have been sent to the client already).
 

Method Detail

onRequestResponse

void onRequestResponse(org.opcfoundation.ua.builtintypes.ServiceRequest request,
                       org.opcfoundation.ua.builtintypes.ServiceResponse response)
Called whenever a Request will be answered with a Response The method is called after the server has handled the request and formed the response (it may have been sent to the client already). This Listener should be only used for logging purposes. This method should return right away and log asynchronously or be very quick. This method is not allowed to modify the contents of request or response. This method can be executed by multiple Threads at the same time.

Parameters:
request - The request from a client
response - The response for the request


Copyright © 2018. All rights reserved.