YoshikuniJujo / xmpipe

XMPP library using simple-PIPE
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Test simple-pipe with onException #17

Open YoshikuniJujo opened 9 years ago

YoshikuniJujo commented 9 years ago

Test simple-pipe with onException. I want to inform exception in pipe. Use TChan to inform exception.

YoshikuniJujo commented 9 years ago

Make model of s2s connection. s2s server model receive data and send it to other host. But connection is down. s2s server inform it to s2s client. Then s2s client restart connection and re-send data.

YoshikuniJujo commented 9 years ago

Pass connection open function to TestFederation.output. And it becomes possible that if output encounter connection error then reconnect.

YoshikuniJujo commented 9 years ago

But how to change handle of input?

YoshikuniJujo commented 9 years ago

Make s2s re-connection model which contain input.