|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
checkConnection method checks database connection before any
query.
checkNickName method checks whether given string is a valid
nick name: not null, not zero length, doesn't contain invalid characters.
Set.ClassUtil file contains code used for loading all
implementations of specified interface or abstract class
found in classpath.compare is used to perform
compare method here.
getJID method builds valid JIDUtils string from given nick name,
domain and resource.
getNodeHost parses given JIDUtils and returns node
domain part.
getNodeHostIP parses given JIDUtils for node
domain part and then tries to resolve host IP address..
getNodeID cuts off resource JIDUtils part
if exists and returns only node ID.
getNodeNick parses given JIDUtils and returns
node nick name or empty string if nick name could not be found.
getNodeID parses given JIDUtils and returns
resource part of given JIDUtils or empty string if there
was no resource part.
getResourceUri method returns database connection string.
initPreparedStatements method initializes internal
database connection variables such as prepared statements.
initRepository method is doing lazy initialization with database.
JIDUtils class contains static methods for JIDUtils
manipulation.main method here.
main method here.
main method here.
main method here.
Telnet instance.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||