Interface S7MessageProcessor
- All Known Implementing Classes:
DefaultS7MessageProcessor
public interface S7MessageProcessor
Some times the messages being sent have to be manipulated before
being able to send them. For example eventually a request has to
be split up into multiple ones to respect the maximum PDU size.
-
Method Summary
Modifier and Type Method Description Collection<S7RequestMessage>processRequest(S7RequestMessage request, int pduSize)S7ResponseMessageprocessResponse(S7RequestMessage request, S7ResponseMessage response)
-
Method Details
-
processRequest
Collection<S7RequestMessage> processRequest(S7RequestMessage request, int pduSize) throws PlcException- Throws:
PlcException
-
processResponse
S7ResponseMessage processResponse(S7RequestMessage request, S7ResponseMessage response) throws PlcException- Throws:
PlcException
-