Thread: [Hamsam-devel] Greetings
Status: Beta
Brought to you by:
dsj_shock
|
From: Martin W. <mar...@ya...> - 2004-04-14 12:54:20
|
Hello. We are using your library and have found it to be quite useful. Thanks for the hard work. Now we have a question. Is there anyway to tell when the message is accepted by the central server, say using the Yahoo protocol? We would like to keep from flooding the connection and waiting for the response packet seems to be a decent way to act as a throttle. Or maybe there is a better way. Thanks. --Marty |
|
From: Raghu K <kr...@us...> - 2004-04-17 06:19:16
|
Hi, Nice to hear that you found Hamsam useful. Yahoo protocol doesn't acknowledge the message packets. So there's no way to detect whether a message is delivered or not. Some other protocols - like MSN - do acknowledge each individual messages. However, the MSN code is not 100% complete in Hamsam. Hope this info helps you. Thanks Raghu Martin Wegner wrote: >Hello. > > > >We are using your library and have found it to be quite useful. Thanks > >for the hard work. Now we have a question. > > > >Is there anyway to tell when the message is accepted by the central > >server, say using the Yahoo protocol? We would like to keep from flooding > >the connection and waiting for the response packet seems to be a decent > >way to act as a throttle. Or maybe there is a better way. > > > >Thanks. > > > > > >--Marty > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IBM Linux Tutorials > >Free Linux tutorial presented by Daniel Robbins, President and CEO of > >GenToo technologies. Learn everything from fundamentals to system > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >_______________________________________________ > >Hamsam-devel mailing list > >Ham...@li... > >https://lists.sourceforge.net/lists/listinfo/hamsam-devel > > > |
|
From: Martin W. <mar...@ya...> - 2004-04-17 06:28:19
|
Raghu, Thanks for writing back. One more question: I am unable to have two instances of Hamsam running in the same JVM (using the Yahoo protocol). It seems that one cancels out the other. Does that make sense? --Marty --- Raghu K <kr...@us...> wrote: > Hi, > > Nice to hear that you found Hamsam useful. > > Yahoo protocol doesn't acknowledge the message packets. So there's no > way to detect whether a message is delivered or not. Some other > protocols - like MSN - do acknowledge each individual messages. However, > > the MSN code is not 100% complete in Hamsam. Hope this info helps you. > > Thanks > Raghu > > Martin Wegner wrote: > > >Hello. > > > > > > > >We are using your library and have found it to be quite useful. Thanks > > > >for the hard work. Now we have a question. > > > > > > > >Is there anyway to tell when the message is accepted by the central > > > >server, say using the Yahoo protocol? We would like to keep from > flooding > > > >the connection and waiting for the response packet seems to be a decent > > > >way to act as a throttle. Or maybe there is a better way. > > > > > > > >Thanks. > > > > > > > > > > > >--Marty > > > > > > > > > > > > > > > >------------------------------------------------------- > > > >This SF.Net email is sponsored by: IBM Linux Tutorials > > > >Free Linux tutorial presented by Daniel Robbins, President and CEO of > > > >GenToo technologies. Learn everything from fundamentals to system > > > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > >_______________________________________________ > > > >Hamsam-devel mailing list > > > >Ham...@li... > > > >https://lists.sourceforge.net/lists/listinfo/hamsam-devel > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Hamsam-devel mailing list > Ham...@li... > https://lists.sourceforge.net/lists/listinfo/hamsam-devel |
|
From: Raghu K <kr...@us...> - 2004-04-19 11:25:51
|
Yeah, that's how Hamsam is designed - You can connect to one and only one account per protocol. Technically it is possible to have multiple account sign-ons from the same JVM. However, that means using more sockets and more threads (actual count depends on the protocol). For yahoo, you will add one socket and two threads per each sign on. Raghu Martin Wegner wrote: >Raghu, > > > >Thanks for writing back. > > > >One more question: I am unable to have two instances of Hamsam running in > >the same JVM (using the Yahoo protocol). It seems that one cancels out > >the other. Does that make sense? > > > > > >--Marty > > > >--- Raghu K <kr...@us...> wrote: > > > >>Hi, >> >> > > > > > > >>Nice to hear that you found Hamsam useful. >> >> > > > > > > >>Yahoo protocol doesn't acknowledge the message packets. So there's no >> >> > > > >>way to detect whether a message is delivered or not. Some other >> >> > > > >>protocols - like MSN - do acknowledge each individual messages. However, >> >> > > > > > > >>the MSN code is not 100% complete in Hamsam. Hope this info helps you. >> >> > > > > > > >>Thanks >> >> > > > >>Raghu >> >> > > > > > > >>Martin Wegner wrote: >> >> > > > > > > >>>Hello. >>> >>> > > > > > > > > > > > > >>>We are using your library and have found it to be quite useful. Thanks >>> >>> > > > > > > >>>for the hard work. Now we have a question. >>> >>> > > > > > > > > > > > > >>>Is there anyway to tell when the message is accepted by the central >>> >>> > > > > > > >>>server, say using the Yahoo protocol? We would like to keep from >>> >>> > > > >>flooding >> >> > > > > > > >>>the connection and waiting for the response packet seems to be a decent >>> >>> > > > > > > >>>way to act as a throttle. Or maybe there is a better way. >>> >>> > > > > > > > > > > > > >>>Thanks. >>> >>> > > > > > > > > > > > > > > > > > > >>>--Marty >>> >>> > > > > > > > > > > > > > > > > > > > > > > > > >>>------------------------------------------------------- >>> >>> > > > > > > >>>This SF.Net email is sponsored by: IBM Linux Tutorials >>> >>> > > > > > > >>>Free Linux tutorial presented by Daniel Robbins, President and CEO of >>> >>> > > > > > > >>>GenToo technologies. Learn everything from fundamentals to system >>> >>> > > > > > > >>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >>> >>> > > > > > > >>>_______________________________________________ >>> >>> > > > > > > >>>Hamsam-devel mailing list >>> >>> > > > > > > >>>Ham...@li... >>> >>> > > > > > > >>>https://lists.sourceforge.net/lists/listinfo/hamsam-devel >>> >>> > > > > > > >>> >>> >>> > > > > > > > > > > > > > > > >>------------------------------------------------------- >> >> > > > >>This SF.Net email is sponsored by: IBM Linux Tutorials >> >> > > > >>Free Linux tutorial presented by Daniel Robbins, President and CEO of >> >> > > > >>GenToo technologies. Learn everything from fundamentals to system >> >> > > > >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >> >> > > > >>_______________________________________________ >> >> > > > >>Hamsam-devel mailing list >> >> > > > >>Ham...@li... >> >> > > > >>https://lists.sourceforge.net/lists/listinfo/hamsam-devel >> >> > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IBM Linux Tutorials > >Free Linux tutorial presented by Daniel Robbins, President and CEO of > >GenToo technologies. Learn everything from fundamentals to system > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >_______________________________________________ > >Hamsam-devel mailing list > >Ham...@li... > >https://lists.sourceforge.net/lists/listinfo/hamsam-devel > > > |
|
From: Martin W. <mar...@ya...> - 2004-04-19 13:59:01
|
Raghu, Thanks for the response. We need a package that supports multiple connections in the same JVM. We are teaching log4j and Tomcat to talk to Yahoo. So we'll go with the yMSG package for now. If I have the time I will look at making Hamsam support mutli-connections. I would imagine it can't be too hard. Thanks. --Marty --- Raghu K <kr...@us...> wrote: > Yeah, that's how Hamsam is designed - You can connect to one and only > one account per protocol. Technically it is possible to have multiple > account sign-ons from the same JVM. However, that means using more > sockets and more threads (actual count depends on the protocol). For > yahoo, you will add one socket and two threads per each sign on. > > Raghu > > Martin Wegner wrote: > > >Raghu, > > > > > > > >Thanks for writing back. > > > > > > > >One more question: I am unable to have two instances of Hamsam running > in > > > >the same JVM (using the Yahoo protocol). It seems that one cancels out > > > >the other. Does that make sense? > > > > > > > > > > > >--Marty > > > > > > > >--- Raghu K <kr...@us...> wrote: > > > > > > > >>Hi, > >> > >> > > > > > > > > > > > > > >>Nice to hear that you found Hamsam useful. > >> > >> > > > > > > > > > > > > > >>Yahoo protocol doesn't acknowledge the message packets. So there's no > >> > >> > > > > > > > >>way to detect whether a message is delivered or not. Some other > >> > >> > > > > > > > >>protocols - like MSN - do acknowledge each individual messages. > However, > >> > >> > > > > > > > > > > > > > >>the MSN code is not 100% complete in Hamsam. Hope this info helps you. > >> > >> > > > > > > > > > > > > > >>Thanks > >> > >> > > > > > > > >>Raghu > >> > >> > > > > > > > > > > > > > >>Martin Wegner wrote: > >> > >> > > > > > > > > > > > > > >>>Hello. > >>> > >>> > > > > > > > > > > > > > > > > > > > > > > > > > >>>We are using your library and have found it to be quite useful. > Thanks > >>> > >>> > > > > > > > > > > > > > >>>for the hard work. Now we have a question. > >>> > >>> > > > > > > > > > > > > > > > > > > > > > > > > > >>>Is there anyway to tell when the message is accepted by the central > >>> > >>> > > > > > > > > > > > > > >>>server, say using the Yahoo protocol? We would like to keep from > >>> > >>> > > > > > > > >>flooding > >> > >> > > > > > > > > > > > > > >>>the connection and waiting for the response packet seems to be a > decent > >>> > >>> > > > > > > > > > > > > > >>>way to act as a throttle. Or maybe there is a better way. > >>> > >>> > > > > > > > > > > > > > > > > > > > > > > > > > >>>Thanks. > >>> > >>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >>>--Marty > >>> > >>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >>>------------------------------------------------------- > >>> > >>> > > > > > > > > > > > > > >>>This SF.Net email is sponsored by: IBM Linux Tutorials > >>> > >>> > > > > > > > > > > > > > >>>Free Linux tutorial presented by Daniel Robbins, President and CEO of > >>> > >>> > > > > > > > > > > > > > >>>GenToo technologies. Learn everything from fundamentals to system > >>> > >>> > > > > > > > > > > > > > >>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >>> > >>> > > > > > > > > > > > > > >>>_______________________________________________ > >>> > >>> > > > > > > > > > > > > > >>>Hamsam-devel mailing list > >>> > >>> > > > > > > > > > > > > > >>>Ham...@li... > >>> > >>> > > > > > > > > > > > > > >>>https://lists.sourceforge.net/lists/listinfo/hamsam-devel > >>> > >>> > > > > > > > > > > > > > >>> > >>> > >>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >>------------------------------------------------------- > >> > >> > > > > > > > >>This SF.Net email is sponsored by: IBM Linux Tutorials > >> > >> > > > > > > > >>Free Linux tutorial presented by Daniel Robbins, President and CEO of > >> > >> > > > > > > > >>GenToo technologies. Learn everything from fundamentals to system > >> > >> > > > > > > > >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >> > >> > > > > > > > >>_______________________________________________ > >> > >> > > > > > > > >>Hamsam-devel mailing list > >> > >> > > > > > > > >>Ham...@li... > >> > >> > > > > > > > >>https://lists.sourceforge.net/lists/listinfo/hamsam-devel > >> > >> > > > > > > > > > > > > > > > >------------------------------------------------------- > > > >This SF.Net email is sponsored by: IBM Linux Tutorials > > > >Free Linux tutorial presented by Daniel Robbins, President and CEO of > > > >GenToo technologies. Learn everything from fundamentals to system > > > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > >_______________________________________________ > > > >Hamsam-devel mailing list > > > >Ham...@li... > > > >https://lists.sourceforge.net/lists/listinfo/hamsam-devel > > > > > > > |
|
From: Mark S. <ma...@Sc...> - 2004-04-19 14:01:26
|
On April 19, 2004 11:57 am, Raghu K wrote: > Yeah, that's how Hamsam is designed - You can connect to one and only > one account per protocol. Technically it is possible to have multiple > account sign-ons from the same JVM. However, that means using more > sockets and more threads (actual count depends on the protocol). For > yahoo, you will add one socket and two threads per each sign on. I am using Hamsam as a way to notify my clients about events. It would be great if I could notify people in parallel. Please consider my vote to allow this. Thank you. -- VoIP SIP:26...@fw... Free calendar client and server - works with Exchange/Outlook/Yahoo! TV-Listing and Weather Schedules http://www.ScheduleWorld.com/ http://www.ScheduleWorld.com/sw/ScheduleWorld.jnlp (JWS) |