obtain

public static CommandNotificationMessage obtain(String name, String data)

Creates a message instance.

Return

The message instance.

Parameters

name

The command name to be retrieved.

data

The command data to be set, which can be in any format, such as JSON.