Interface S7MessageProcessor
-
- All Known Implementing Classes:
DefaultS7MessageProcessor
public interface S7MessageProcessorSome 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<S7MessageRequest>processRequest(S7MessageRequest request, int pduSize)S7MessageResponseDataprocessResponse(S7MessageRequest originalRequest, Map<S7MessageRequest,io.vavr.control.Either<S7MessageResponseData,Throwable>> result)
-
-
-
Method Detail
-
processRequest
Collection<S7MessageRequest> processRequest(S7MessageRequest request, int pduSize) throws PlcException
- Throws:
PlcException
-
processResponse
S7MessageResponseData processResponse(S7MessageRequest originalRequest, Map<S7MessageRequest,io.vavr.control.Either<S7MessageResponseData,Throwable>> result) throws PlcException
- Throws:
PlcException
-
-