Safe Haskell | None |
---|---|
Language | Haskell98 |
Miscelanteous functions for debug purposes.
- breakConnection :: TransportInternals -> EndPointAddress -> EndPointAddress -> String -> IO ()
Documentation
:: TransportInternals | |
-> EndPointAddress |
|
-> EndPointAddress |
|
-> String | Error message |
-> IO () |
Function that simulate failing connection between two endpoints,
after calling this function both endpoints will receive ConnectionEventLost
message, and all LocalConnectionValid
connections will
be put into LocalConnectionFailed
state.