ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/experimental/server/XMLReader/UDPReaderThread.java
Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Nov 21 10:27:24 2000 UTC (23 years, 4 months ago) by pjm2
Branch: MAIN
CVS Tags: HEAD, PROJECT_COMPLETION
Changes since 1.6: +5 -0 lines
Diff to previous 1.6
Added a method to allow the UDPReader to handle XML Strings from other
UDPReaders.

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Nov 21 09:26:09 2000 UTC (23 years, 4 months ago) by pjm2
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
Modified the port number used by XMLSender2.

Altered UDPReaderThread such that a 'proper' thread is run.

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Nov 17 20:44:31 2000 UTC (23 years, 4 months ago) by pjm2
Branch: MAIN
Changes since 1.4: +8 -8 lines
Diff to previous 1.4
UDPReader and UDPReaderThread have been altered to prevent
a serious problem whereby the system ran out of free memory
after a certain amount of UDP packets had been received.

Testing with XMLSender2 has revealed that this problem has
been solved.  There is now little chance of the UDPReader
rejecting packets as it queues each arrival straight to the
UDPReaderThread, thus making "event storms" managable.  In
fact, the queuing nature may even assist in quenching such
problems.

Revision 1.4 - (view) (annotate) - [select for diffs]
Fri Nov 17 14:49:13 2000 UTC (23 years, 4 months ago) by pjm2
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3
Removed some reporting features from UDPReaderThread and
XMLPacketMaker

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Nov 17 14:45:56 2000 UTC (23 years, 4 months ago) by pjm2
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2
Fixed a major parsing problem by wrapping the XML in an InputSource object
and removing null characters from the input.  Also modified the XMLSender
class so that it no longer sent "null" when the last line of an input file
is reached.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Nov 17 12:16:39 2000 UTC (23 years, 4 months ago) by pjm2
Branch: MAIN
Changes since 1.1: +12 -0 lines
Diff to previous 1.1
Changed a lot of parts of UDPReader, UDPReaderThread, XMLPacketMaker,
XMLPacketParser and XMLSender so that they all work together.  XMLSender
is just a summy program to send UDP data to the UDPReader.

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Nov 17 11:23:19 2000 UTC (23 years, 4 months ago) by pjm2
Branch: MAIN
The UDPReader class contains a main method for running on a machine to
accept the UDP XML data coming in.  Once it receives something, it passes
it on to a separate UDPReaderThread class to try and prevent the loss of
packets.

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a