mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 07:00:54 +00:00
Add "closed" and "shutting_down" events
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
from libp2p.stream_muxer.exceptions import (
|
||||
MuxedConnError,
|
||||
MuxedConnShutdown,
|
||||
MuxedConnShuttingDown,
|
||||
MuxedConnClosed,
|
||||
MuxedStreamClosed,
|
||||
MuxedStreamEOF,
|
||||
MuxedStreamReset,
|
||||
@ -11,7 +12,11 @@ class MplexError(MuxedConnError):
|
||||
pass
|
||||
|
||||
|
||||
class MplexShutdown(MuxedConnShutdown):
|
||||
class MplexShuttingDown(MuxedConnShuttingDown):
|
||||
pass
|
||||
|
||||
|
||||
class MplexClosed(MuxedConnClosed):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user