commandportsyntax
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
commandportsyntax [2008/03/06 21:48] – sestst | commandportsyntax [2008/08/20 20:55] – sestst | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{blank64.png|}} | ||
====== Command Port Syntax ====== | ====== Command Port Syntax ====== | ||
Several parts of the HomeServer accepts commands. The command syntax used on these places is described here. | Several parts of the HomeServer accepts commands. The command syntax used on these places is described here. | ||
Line 12: | Line 13: | ||
The following commands are supported by the command port: | The following commands are supported by the command port: | ||
* **dir** - Returns a list of all instances in the HomeServer. | * **dir** - Returns a list of all instances in the HomeServer. | ||
+ | * **create**,// | ||
* **get**,// | * **get**,// | ||
- | * **set**,// | + | * **set**,// |
- | * **call**// | + | * **call**,//instance name,action name// - Calls the specified method in the specified instance. |
- | * **event**{,// | + | * **rename**,// |
+ | * **exec**,// | ||
+ | * **event**,// | ||
* **subscribe** - Start receive events from the event hub. After this command all events will be distributed over the connection for the duration of the session. Only valid for session based connections. | * **subscribe** - Start receive events from the event hub. After this command all events will be distributed over the connection for the duration of the session. Only valid for session based connections. | ||
* **quit** - Closes the session. Only valid for session based command ports. | * **quit** - Closes the session. Only valid for session based command ports. | ||
- | ==== Examples | + | |
+ | ==== Example 1 Command Port session==== | ||
dir | dir | ||
ok,Event Broker, | ok,Event Broker, | ||
Line 30: | Line 35: | ||
error,2,No Instance specified | error,2,No Instance specified | ||
+ | ==== See also ==== | ||
+ | [[TCPCommandPort]], | ||
commandportsyntax.txt · Last modified: 2018/11/03 02:59 by 127.0.0.1