I have a requirement to send message to multiple users at a time. For each user receiving the message should not know the other receivers.
I tried using jml to send message to user one by one, but i got the error saying switchboard unvailable. After checking the error, i knew it is caused by the constraint that msn sever only allow 8 switchboards for one msn account at one time.
I am thinking that i should create a switchboard to send message, close it, and then create another one. There is a "close" method for MsnSiwtchBoard class. I tried invoking this method, but it seems not close the current switchboard immediately.
Any idea about how this method work? and any other solution for sending message to multiple contacts using JML. Any help will be appreciated!!! ( i knew i can create a switchboard, invite all the users and send message to them. But it not meet my requirement that one receiver should not know the other receivers)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please send me a basic command for sending a messsage to one contact in my contact list and how to run the program. There is a sample code in the example of this web site, but I'm was confused to run this code and didnt get any output. Because i'm new to java, really appreciate your help.
chnd
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a requirement to send message to multiple users at a time. For each user receiving the message should not know the other receivers.
I tried using jml to send message to user one by one, but i got the error saying switchboard unvailable. After checking the error, i knew it is caused by the constraint that msn sever only allow 8 switchboards for one msn account at one time.
I am thinking that i should create a switchboard to send message, close it, and then create another one. There is a "close" method for MsnSiwtchBoard class. I tried invoking this method, but it seems not close the current switchboard immediately.
Any idea about how this method work? and any other solution for sending message to multiple contacts using JML. Any help will be appreciated!!! ( i knew i can create a switchboard, invite all the users and send message to them. But it not meet my requirement that one receiver should not know the other receivers)
Hi,
Please send me a basic command for sending a messsage to one contact in my contact list and how to run the program. There is a sample code in the example of this web site, but I'm was confused to run this code and didnt get any output. Because i'm new to java, really appreciate your help.
chnd