Module Jabber |
|
Methods |
Classes and Modules |
Public Class methods |
gen_random_resource() src |
Generates a random hex string in the following format:
JRR_01234567
return: | [String] The resource id |
gen_random_thread() src |
Generates a random thread as a hex string in the following format:
JRT_01234567890123456789
return: | [String] The thread id |
gen_random_id(prefix="Jabber4R_", length=16) src |
Generates a random id as a hex string
prefix: | [String="Jabber4R_] The prefix for the random hex data |
length: | [Integer=16] The number of hex characters |
return: | [String] The random id |