public static void Register(IAfpRequestHandler handler) { _handlers[handler.CommandCode] = handler; }