Re: [Hamsam-devel] Greetings
Status: Beta
Brought to you by:
dsj_shock
|
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 > > > > > > > |