Source: Infrastructure/IPacketDispatcher.js

  1. /**
  2. Interface describing a message dispatcher.
  3. @interface IPacketDispatcher
  4. @memberof Stormancer
  5. */
  6. /**
  7. Adds a packet processor to the dispatcher.
  8. @method Stormancer.IPacketDispatcher#addProcessor
  9. @param {Stormancer.IPacketProcessor} processor An `IPacketProcessor` object
  10. */
  11. /**
  12. Dispatches a packet to the system.
  13. @method Stormancer.IPacketDispatcher#dispatchPacket
  14. @param {Stormancer.Packet} packet Packet to dispatch.
  15. */
  16. //# sourceMappingURL=IPacketDispatcher.js.map