| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Network.Transport.InMemory.Debug
Description
Miscelanteous functions for debug purposes.
- breakConnection :: TransportInternals -> EndPointAddress -> EndPointAddress -> String -> IO ()
Documentation
Arguments
| :: 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.