ringExists

Name

ringExists -- Determine if a ringbuffer exists

Synopsis


package require ringutils
if {[ringExists name ?host?=localhost]} {
    # Ring exists.
} else {
    # Ring does not exist.
}
        

DESCRIPTION>

Returns a boolean true if the ringbuffer name exists in the host host The host is optional and defaults to localhost if omitted. If name does not exist a boolean false is returned.

If host does not exist or is not running a functinoning ring master daemon, this proc will throw an error.