Okay, now I jump in here, as my students are, well, afraid, busy,lazy to answer. They have written a Jabber Client with an additional Jabber Server Module wich allows the remote administration of the Jabber server, e.g. to add other users to the Rooster of the Jabber Server. Very useful if you use another Client like the Java Applet and want to see who of your working group, team or whatever is online, as this information can be updated automatically form the ACS System. I wanted to wait til the source is tested and better documented, but well, before someone else develops the same functionality. In general this setup is a little bit centered around the Jabber Java Applett for communication. Logging will be handled by the Jabber server.
jb_login
- This function takes no parameters, it logs the community client into the
Jabber Server. A call to this function should be done on AOLSerevr startup,
or after a restart of the Jabber Server a automatic login on startup is in
work but not implemented yet.
The clients jid as well as the Jabber Server URL have to be defined at
compiletime.
jb_logout
-This function takes no parameters, it logs the community client out of
the Jabber Server.
jb_addbuddy screenname screenname screenname ...
- This function is not limited to the amount of parameters,each parameter
must be a valid sreenname (a screenname is a jid with out the Server portion). The first parameter has to be the screenname of the user who wants to add
someones jid to his roster (e.g. the one who is triggering this function),
all other parameters are the screennames to be added to the firsts roster.
If a screenname contains invalid charakters this function returns an error,
if a
screenname is spelled corectly but is not valid the function will not
return an error and no action to this specific screenname takes place,
but it will still apear in all valid screennames rosters.
jb_chat screenname screenname
- This function takes two parameters, both are screennames (a screenname
is a jid with out the Server portion) , it will start a chat between the
specified users.Even if both are offline they recive at least a "Hello" and
all masseges send, when they go online the next time.If the screenname or
the password contains invalid charakters this function returns an error.
jb_register screenname password
- This function takes two parameters, the first is the srcreenname of the
user to be registered the second is the password.If a screenname
contains invalid charakters this function returns an error.
jb_message jid message
- This funktion takes two parameters, the first is a full jid (of any valid
Jabber Server
including its transports) , the second is the message String.This
function dosen't return any errors yet.
Ther is also a table in the Database of the AOLServer that holds all Users
who are online with the Jabber Server from any client.The table has three
columes jid and resource wich make the primery key of the table (this is
because a user can be online with two or more clients at the same time
from diferent recources ( Home , Work , etc.) ), and the third colume holds
the current status ( online , away ).Details about the table will follow.