[Jaimbot-users] Sending a simple message w/o receiving an event
Brought to you by:
ostersc
|
From: Ian K. <ik...@ae...> - 2003-09-28 00:06:08
|
Hello,
I recently downloaded JAIMBOT, and would like to just sent a simple
message to another username without receiving an event. Please let me
know if this is possible with your code, and if not, where I can find
another project that implements this functionality. Please send any
responces to ik...@ae... as I am not subscribed to the mailing
list.
Thanks!
Ian
----------------------------------------------------------------------
I have the following code, but I never receive a message. The 'Echo'
example included with your source distribution works fine.
public class AIM {
public static void main(String [] args) {
final AIMSender aim=(AIMSender) new
AIMClient("xxx","yyy", "Simple Send Message Bot", true);
AIMBuddy buddy = new AIMBuddy("zzz");
aim.addAIMListener(new AIMAdapter() {
// do nothing, I only want to sent one message
});
aim.signOn();
aim.sendMessage(buddy, "Testing message send.");
aim.signOff();
}
}
|