code: func (ed *Dispatcher) RegisterHandlers() {
  	ed.RegisterHandler(&RegisterChaincodeEvent{}, ed.handleRegisterCCEvent)
  	ed.RegisterHandler(&RegisterTxStatusEvent{}, ed.handleRegisterTxStatusEvent)
  	ed.RegisterHandler(&RegisterBlockEvent{}, ed.handleRegisterBlockEvent)
  	ed.RegisterHandler(&RegisterFilteredBlockEvent{}, ed.handleRegisterFilteredBlockEvent)
  	ed.RegisterHandler(&UnregisterEvent{}, ed.handleUnregisterEvent)
  	ed.RegisterHandler(&StopEvent{}, ed.HandleStopEvent)
  	ed.RegisterHandler(&TransferEvent{}, ed.HandleTransferEvent)
  	ed.RegisterHandler(&StopAndTransferEvent{}, ed.HandleStopAndTransferEvent)
  	ed.RegisterHandler(&RegistrationInfoEvent{}, ed.handleRegistrationInfoEvent)
  
  	// The following events are used for testing only
  	ed.RegisterHandler(&fab.BlockEvent{}, ed.handleBlockEvent)
  	ed.RegisterHandler(&fab.FilteredBlockEvent{}, ed.handleFilteredBlockEvent)
  }
docs: // RegisterHandlers registers all of the handlers by event type