
A
PPENDIX
I: TCL P
ROGRAMMING
G
UIDE
131
ampaddsubscription <event> <url>
Creates a subscription for the URL to the event specified. The URL encapsulates the service to be used for
notification, and any parameters required by that service.
% ampgetsubscription
% ampaddsubscription event.user.statusupdate mailto://[email protected]
subscription added
% ampgetsubscription
% ampsave
save complete
% ampgetsubscription
event.user.statusupdate;mailto://[email protected]
%
amprmsubscription <event> <url>
Deletes the subscription.
ampping <ip_address>
Returns true (1) if a response from the IP address is received within the ping timeout, false (0) if not.
ampread <timeout> <terminator> <port>
Returns a string representing the next chunk of console data up to and including the terminator or the end of the data
stream when a timeout occurs (in seconds), whichever comes first.
Note:
Issue an ampclear command to clear old data before starting any new operations. The
terminator can be a multi-character (up to 32) string specified in quotes.
ampwrite <string> <port>
Writes the string to the console (the script must first lock the write access using
amplock
).
ampclear <port>
Clears the buffer from which
ampread
and
ampexec
read.
ampexec <string> <timeout> <terminator> <port>_<number>
A convenience routine: writes the string to the console and then reads the response until the terminator OR timeout
occurs. A typical terminator can be the system prompt to indicate the completion of an execution. The response is
returned as a string.
Has returned NULL
because there are no
user-defined
subscriptions
Has returned NULL
because ampsave
command has not
yet been executed
Содержание Dominion SX16
Страница 1: ...Installation and Operations Manual SX16 SX32...
Страница 2: ...This page intentionally left blank...
Страница 4: ...This page intentionally left blank...
Страница 6: ...This page intentionally left blank...
Страница 10: ...iv TABLE OF CONTENTS...
Страница 14: ...viii TABLE OF FIGURES...
Страница 24: ...10 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 30: ...16 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 82: ...68 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 84: ...70 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 86: ...72 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 88: ...74 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 102: ...88 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 114: ...100 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 120: ...106 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 132: ...118 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 158: ...144 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 161: ...APPENDIX K TECHNICAL FAQS 147 DSX 0A E 255 60 2000...
Страница 162: ...148 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...