123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.ServerHeartbeatFailedEvent = exports.ServerHeartbeatSucceededEvent = exports.ServerHeartbeatStartedEvent = exports.TopologyClosedEvent = exports.TopologyOpeningEvent = exports.TopologyDescriptionChangedEvent = exports.ServerClosedEvent = exports.ServerOpeningEvent = exports.ServerDescriptionChangedEvent = void 0;
- class ServerDescriptionChangedEvent {
-
- constructor(topologyId, address, previousDescription, newDescription) {
- this.topologyId = topologyId;
- this.address = address;
- this.previousDescription = previousDescription;
- this.newDescription = newDescription;
- }
- }
- exports.ServerDescriptionChangedEvent = ServerDescriptionChangedEvent;
- class ServerOpeningEvent {
-
- constructor(topologyId, address) {
- this.topologyId = topologyId;
- this.address = address;
- }
- }
- exports.ServerOpeningEvent = ServerOpeningEvent;
- class ServerClosedEvent {
-
- constructor(topologyId, address) {
- this.topologyId = topologyId;
- this.address = address;
- }
- }
- exports.ServerClosedEvent = ServerClosedEvent;
- class TopologyDescriptionChangedEvent {
-
- constructor(topologyId, previousDescription, newDescription) {
- this.topologyId = topologyId;
- this.previousDescription = previousDescription;
- this.newDescription = newDescription;
- }
- }
- exports.TopologyDescriptionChangedEvent = TopologyDescriptionChangedEvent;
- class TopologyOpeningEvent {
-
- constructor(topologyId) {
- this.topologyId = topologyId;
- }
- }
- exports.TopologyOpeningEvent = TopologyOpeningEvent;
- class TopologyClosedEvent {
-
- constructor(topologyId) {
- this.topologyId = topologyId;
- }
- }
- exports.TopologyClosedEvent = TopologyClosedEvent;
- class ServerHeartbeatStartedEvent {
-
- constructor(connectionId) {
- this.connectionId = connectionId;
- }
- }
- exports.ServerHeartbeatStartedEvent = ServerHeartbeatStartedEvent;
- class ServerHeartbeatSucceededEvent {
-
- constructor(connectionId, duration, reply) {
- this.connectionId = connectionId;
- this.duration = duration;
- this.reply = reply;
- }
- }
- exports.ServerHeartbeatSucceededEvent = ServerHeartbeatSucceededEvent;
- class ServerHeartbeatFailedEvent {
-
- constructor(connectionId, duration, failure) {
- this.connectionId = connectionId;
- this.duration = duration;
- this.failure = failure;
- }
- }
- exports.ServerHeartbeatFailedEvent = ServerHeartbeatFailedEvent;
|