CallbackResult
implementation that wraps another CallbackResult
, and forwards all callbacks to the wrapped instance. When creating a CallbackResultWrapper
it is allowed to pass a null reference as the wrappee. The effect of this is that all callback notifications are "swallowed" by the wrapper instance. This class can thus be used for implementing the "Null Object" pattern for code that uses callbacks.
@author Torgil Zethson
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|