tcpcommandport
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tcpcommandport [2008/03/06 20:59] – sestst | tcpcommandport [2018/11/03 02:59] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{port64.png|}} | + | {{::server:port64.png?nolink|}} |
====== TCPCommandPort ====== | ====== TCPCommandPort ====== | ||
- | The TCPCommandPort acts as a command line interface to the HomeServer. By connecting a telnet session to the TCPCommandPort you can access all objects in the HomeServer. Via the TCPCommandPort you can list all instances, get and set the attributes of the instances and call methods in the instances. You can also send events to the event hub. | + | This module is a part of the [[: |
- | The interface is primarily intended for machine-machine communication and not for human interaction. | + | The interface is primarily intended for machine-machine communication and not for human interaction. The syntax is described |
- | + | ||
- | === Command Syntax === | + | |
- | The syntax | + | |
- | * '','' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | + | ||
- | === Commands === | + | |
- | * **dir** - Returns a list of all instances in the HomeServer. | + | |
- | * **get**,//instance name{,attribute name}// - Returns a list of name and value for the specified attribute. If no attribute name is specified all attributes of the instance are listed. | + | |
- | * **set**,//instance name,attribute name,value// - Sets the attribute value in the specified instance. | + | |
- | * **call**// | + | |
- | * **event**{,//attribute name,attribute value}*// - Sends an event with the specified attribute values. | + | |
- | * **quit** - Forces the TCPCommandPort to close the connection. | + | |
===== Attributes ===== | ===== Attributes ===== | ||
Line 23: | Line 8: | ||
* **MessageCount** //[get]// Number of processed commands. | * **MessageCount** //[get]// Number of processed commands. | ||
+ | ==== See also ==== | ||
+ | [[CommandPortSyntax|Command Port Syntax]], [[UDPCommandPort]] |
tcpcommandport.1204833594.txt.gz · Last modified: 2018/11/03 02:57 (external edit)