blockchain
module.@Beta @Deprecated public class MultichainService extends Object
Be aware that this class is in Beta (as indicated by the annotation) and therefore subject to breaking changes.
Modifier and Type | Method and Description |
---|---|
static MultichainService |
create()
Deprecated.
Create a service instance looking for an instance of service type 'service'.
|
Object |
invoke(String command,
Object... params)
Deprecated.
Invoke a command on the MultiChain service API.
|
String |
toString()
Deprecated.
|
@Nonnull public static MultichainService create() throws CloudPlatformException
CloudPlatformException
- if no service service is found or the service is insufficiently specified@Nullable public Object invoke(@Nonnull String command, @Nullable Object... params) throws MultichainServiceFailureException, ShouldNotHappenException
command
- MultiChain commandparams
- the command parameters as positional argumentsMultichainServiceFailureException
- if the invocation fails or the server returns an errorShouldNotHappenException
- if data cannot be encoded or a configuration problem inhibits the callCopyright © 2019 SAP SE. All rights reserved.