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 TypeMethodDescriptionprocessRequest(S7MessageRequest request, int pduSize) processResponse(S7MessageRequest originalRequest, Map<S7MessageRequest, io.vavr.control.Either<S7MessageResponseData, Throwable>> result)
-
Method Details
-
processRequest
Collection<S7MessageRequest> processRequest(S7MessageRequest request, int pduSize) throws PlcException - Throws:
PlcException
-
processResponse
S7MessageResponseData processResponse(S7MessageRequest originalRequest, Map<S7MessageRequest, io.vavr.control.Either<S7MessageResponseData, throws PlcExceptionThrowable>> result) - Throws:
PlcException
-