Hi Andrey,

well usually the Response references the Request ... for the 
PlcSubscriptionEvent this is nothing different than repeatedly receiving 
multiple PlcReadResponses for one Request ... sort of like creating a 
PlcReadRequest and calling "execute()" repeatedly on it without re-creating the 
request. 

I haven't implemented any driver using this interface, but I would assume that 
it should reference the PlcSubscriptionRequest as that is where we can see what 
was requested.

But I'm open for other interpretations. 

Chris

Am 08.10.18, 13:03 schrieb "Andrey Skorikov" <[email protected]>:

    Hello all,
    
    the interface PlcSubscriptionEvent extends PlcReadResponse, but I am not 
    sure whether that is correct: every response has a corresponding 
    request, which is obtained by calling getRequest() on the response. 
    However, what request shall be returned if getRequest() is called on 
    PlcSubscriptionEvent? In my understanding such request does not exist, 
    since the subscription request has the corresponsing subscription 
    response and not subscription event.
    
    Andrey
    
    

Reply via email to