|
| 1 | +'use strict'; |
| 2 | + |
| 3 | +const dc = require('diagnostics_channel'); |
| 4 | + |
| 5 | +const onEndpointCreatedChannel = dc.channel('quic.endpoint.created'); |
| 6 | +const onEndpointListeningChannel = dc.channel('quic.endpoint.listen'); |
| 7 | +const onEndpointClosingChannel = dc.channel('quic.endpoint.closing'); |
| 8 | +const onEndpointClosedChannel = dc.channel('quic.endpoint.closed'); |
| 9 | +const onEndpointErrorChannel = dc.channel('quic.endpoint.error'); |
| 10 | +const onEndpointBusyChangeChannel = dc.channel('quic.endpoint.busy.change'); |
| 11 | +const onEndpointClientSessionChannel = dc.channel('quic.session.created.client'); |
| 12 | +const onEndpointServerSessionChannel = dc.channel('quic.session.created.server'); |
| 13 | +const onSessionOpenStreamChannel = dc.channel('quic.session.open.stream'); |
| 14 | +const onSessionReceivedStreamChannel = dc.channel('quic.session.received.stream'); |
| 15 | +const onSessionSendDatagramChannel = dc.channel('quic.session.send.datagram'); |
| 16 | +const onSessionUpdateKeyChannel = dc.channel('quic.session.update.key'); |
| 17 | +const onSessionClosingChannel = dc.channel('quic.session.closing'); |
| 18 | +const onSessionClosedChannel = dc.channel('quic.session.closed'); |
| 19 | +const onSessionReceiveDatagramChannel = dc.channel('quic.session.receive.datagram'); |
| 20 | +const onSessionReceiveDatagramStatusChannel = dc.channel('quic.session.receive.datagram.status'); |
| 21 | +const onSessionPathValidationChannel = dc.channel('quic.session.path.validation'); |
| 22 | +const onSessionNewTokenChannel = dc.channel('quic.session.new.token'); |
| 23 | +const onSessionTicketChannel = dc.channel('quic.session.ticket'); |
| 24 | +const onSessionVersionNegotiationChannel = dc.channel('quic.session.version.negotiation'); |
| 25 | +const onSessionOriginChannel = dc.channel('quic.session.receive.origin'); |
| 26 | +const onSessionHandshakeChannel = dc.channel('quic.session.handshake'); |
| 27 | +const onSessionGoawayChannel = dc.channel('quic.session.goaway'); |
| 28 | +const onSessionEarlyRejectedChannel = dc.channel('quic.session.early.rejected'); |
| 29 | +const onStreamClosedChannel = dc.channel('quic.stream.closed'); |
| 30 | +const onStreamHeadersChannel = dc.channel('quic.stream.headers'); |
| 31 | +const onStreamTrailersChannel = dc.channel('quic.stream.trailers'); |
| 32 | +const onStreamInfoChannel = dc.channel('quic.stream.info'); |
| 33 | +const onStreamResetChannel = dc.channel('quic.stream.reset'); |
| 34 | +const onStreamBlockedChannel = dc.channel('quic.stream.blocked'); |
| 35 | +const onSessionErrorChannel = dc.channel('quic.session.error'); |
| 36 | +const onEndpointConnectChannel = dc.channel('quic.endpoint.connect'); |
| 37 | + |
| 38 | +module.exports = { |
| 39 | + onEndpointCreatedChannel, |
| 40 | + onEndpointListeningChannel, |
| 41 | + onEndpointClosingChannel, |
| 42 | + onEndpointClosedChannel, |
| 43 | + onEndpointErrorChannel, |
| 44 | + onEndpointBusyChangeChannel, |
| 45 | + onEndpointClientSessionChannel, |
| 46 | + onEndpointServerSessionChannel, |
| 47 | + onSessionOpenStreamChannel, |
| 48 | + onSessionReceivedStreamChannel, |
| 49 | + onSessionSendDatagramChannel, |
| 50 | + onSessionUpdateKeyChannel, |
| 51 | + onSessionClosingChannel, |
| 52 | + onSessionClosedChannel, |
| 53 | + onSessionReceiveDatagramChannel, |
| 54 | + onSessionReceiveDatagramStatusChannel, |
| 55 | + onSessionPathValidationChannel, |
| 56 | + onSessionNewTokenChannel, |
| 57 | + onSessionTicketChannel, |
| 58 | + onSessionVersionNegotiationChannel, |
| 59 | + onSessionOriginChannel, |
| 60 | + onSessionHandshakeChannel, |
| 61 | + onSessionGoawayChannel, |
| 62 | + onSessionEarlyRejectedChannel, |
| 63 | + onStreamClosedChannel, |
| 64 | + onStreamHeadersChannel, |
| 65 | + onStreamTrailersChannel, |
| 66 | + onStreamInfoChannel, |
| 67 | + onStreamResetChannel, |
| 68 | + onStreamBlockedChannel, |
| 69 | + onSessionErrorChannel, |
| 70 | + onEndpointConnectChannel, |
| 71 | +}; |
0 commit comments