Register message factory with given direct type. All messages must be registered during construction
of class which implements this interface. Any invocation of this method after initialization is done must
throw IllegalStateException exception.
directType - Direct type.
supplier - Message factory.
IgniteException - In case of attempt to register message with direct type which is already registered.
IllegalStateException - On any invocation of this method when class which implements this interface
is alredy constructed.