SYNTAX

    pubsub [options] <command> <category> <key>


OPTIONS

-h (--help) bool

Display help.

-i (--int) int

Sets the specified property to this integer value.

-s (--string) string

Sets the specified property to this 16-bit descriptor value.

-f (--force) bool

Force read / set this property, disregarding the TSecurityPolicy restrictions on the property. This option can be used with any of the commands. It uses RMemoryAccess to manipulate an RPropertyRef directly.

-b (--btrace) bool

When specified in conjunction with the notify command, uses CBtracePubSub to get the notifications instead of using RProperty::Subscribe or memoryaccess.

-r (--raw) bool

When specified in conjunction with the get command, print out just the value, rather than the usual more verbose format that shows the category, key, type and value.


ARGUMENTS

<command>

The command to run.

get

Get the value of the given key. Category and Key args must be specified.

set

Sets the value. Category and key must be specified along with one of --int or --string.

define

Like set, but defines the key first, if necessary, with an AlwaysPass security policy.

notify

Print when this value changes. Category and key must be specified.

<category>

RProperty category UID, if applicable for the given command. [uint]

<key>

The id of the key (if applicable) for the specified command. [uint]


DESCRIPTION

Get and set Publish and Subscribe (P&S) keys.

To set integer key zero on category 0x12345678 to 6 (for example) run:

  pubsub set 0x12345678 0 --int 6

For P&S keys of type EByteArray, ELargeByteArray, EText or ELargeText, only the hexdump of the key is given because it is not possible to figure out which are text and which are binary data.


COPYRIGHT

Copyright (c) 2008-2010 Accenture. All rights reserved.