Stream – ClearOne Writing StreamNet User Manual
Page 35
Reference
9-5
All specifications subject to change without notification. All rights reserved. Copyright © 2007 NetStreams
Main +1 512.977-9393 / fax +1 512.977.9398 / Toll Free Technical Support +1 866-353-3496
3600 W. Parmer Lane, Suite 100; Austin, TX 78727 /
www.netstreams.com.
Individual parameters can be referenced as command.params[n] where n is between 1
and the number of command specified.
aString = command.to
The entire to address as specified in the original command. Contains nil if no address
was specified.
aString = command.toNode
The node portion only of the address specified in the original command. If the to
address given was “@Aprilaire~zone1”, then toNode would contain “Aprilaire”.
Contains nil if no address was specified.
aString = command.toSubNode
The subNode portion of the address specified in the original command. If the to
address given was “@Aprilaire~zone1”, then toNode would contain “zone1”.
Contains nil if no address was specified or if no subNode was specified in the original
address.
aString = command.from
The entire from address as specified in the original command. Contains nil if no
address was specified.
aString = command.fromNode
The node portion only of the from address specified in the original command. If the
from address given was “:Aprilaire~zone1”, then fromNode would contain
“Aprilaire”. Contains nil if no address was specified.
aString = command.fromSubNode
The subNode portion of the from address specified in the original command. If the
from address given was “:Aprilaire~zone1”, then fromNode would contain “zone1”.
Contains nil if no address was specified or if no subNode was specified in the original
address.
Stream
Creating a stream allows a device driver to communicate with an external device by
RS-232 or TCP/IP. More connection types may be defined in the future. Once the
stream has been created, data can be read from or written to the stream with no regard