From: Filip H. <ma...@fi...> - 2002-12-17 23:32:52
|
an addition to this, the manager must block all other messages while writing the sessions to the byte array, so that sessions don't send messages before the actual session has been transferred. more on this later :) Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect www.filip.net >-----Original Message----- >From: tom...@li... >[mailto:tom...@li...]On Behalf Of >Filip Hanik >Sent: Tuesday, December 17, 2002 3:06 PM >To: Bela Ban; tom...@li... >Subject: RE: [Tomcat-jg-development] RE: State transfer to new node > > >okey dokey, >I haven't started working with the tomcat 5 code base yet, so these changes >I made to the sourceforge project >I just checked in the serialization and deserialization of the session data > >//this method creates a byte array containing all the session data >currently >available >public byte[] getSerializedSessionBytes() > >//this method reads all the sessions out of the byte and adds them to the >manager >//it only returns the added sessions for testing purposes >public Session[] readSerializedSessionBytes(byte[] data) > >I haven't tested this yet since I have to finish a commercial project this >week > >Filip > >~ >Namaste - I bow to the divine in you >~ >Filip Hanik >Software Architect >www.filip.net > >>-----Original Message----- >>From: tom...@li... >>[mailto:tom...@li...]On Behalf Of >>Bela Ban >>Sent: Tuesday, December 17, 2002 2:46 PM >>To: tom...@li... >>Subject: Re: [Tomcat-jg-development] RE: State transfer to new node >> >> >>Filip Hanik wrote: >> >>> doing it right now :) >> >> >>Is this going to be only in Tomcat 5.0, or did you backport it to 4.X as >>well ? >> >>-- >>Bela Ban >>http://www.javagroups.com >>Cell: (408) 316-4459 >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by: >>With Great Power, Comes Great Responsibility >>Learn to use your power at OSDN's High Performance Computing Channel >>http://hpc.devchannel.org/ >>_______________________________________________ >>Tomcat-jg-development mailing list >>Tom...@li... >>https://lists.sourceforge.net/lists/listinfo/tomcat-jg-development >> > > > >------------------------------------------------------- >This sf.net email is sponsored by: >With Great Power, Comes Great Responsibility >Learn to use your power at OSDN's High Performance Computing Channel >http://hpc.devchannel.org/ >_______________________________________________ >Tomcat-jg-development mailing list >Tom...@li... >https://lists.sourceforge.net/lists/listinfo/tomcat-jg-development > |