Hello everyone,
For the S7HA version I used a different path for the timeout implementation.
/ NIOChannel B
PLC4X -> EmbeddedChannel ->
\ NIOChannel A
Channels A and B have timeout monitoring (IdleStateHandler) to handle
disconnection.
The EmbeddedChannel implementation contains all the state machines required
to manage TCP/IP. It also handles the FailOver between the channels.
This way you don't have to recreate the connection from the client's point
of view (PLC4X).
The client is told to disconnect when the TCP/IP channels A and B are
actually disconnected. But it does not destroy the main pipe.
my grain of sand,
El vie, 17 mar 2023 a las 3:09, Christofer Dutz (<[email protected]>)
escribió:
> Hi all,
>
> I would like to address the timeout handling in our Java driver core next.
> Unfortunately, I am a bit unsure how to address that.
> Usually, I would whip up a Unit-Test that causes the error and then to fix
> it.
>
> However, I don’t quite know how to produce the problem that people are
> describing.
>
> Would anyone here be able to assist me with at least that? I’m happy to do
> the fixing.
> I just feel uncomfortable just swapping some code out with random other
> code.
>
>
> Chris
>
>
--
*CEOS Automatización, C.A.*
*GALPON SERVICIO INDUSTRIALES Y NAVALES FA, C.A.,*
*PISO 1, OFICINA 2, AV. RAUL LEONI, SECTOR GUAMACHITO,*
*FRENTE A LA ASOCIACION DE GANADEROS,BARCELONA,EDO. ANZOATEGUI*
*Ing. César García*
*Cel: +58 414-760.98.95*
*Hotline Técnica SIEMENS: 0800 1005080*
*Email: [email protected]
<[email protected]>*