Interruptible I/O for ObjectInputStream



Folks,
Can anyone tell me how to set matters up so that an ObjectInputStream
(connected to a socket) can be made to time out if nothing is available
to be read within a specified timeout period?

I'm using 1.4.2, BTW.

TIA,

----------------------------------------------------------------------
 John English              | mailto:je@xxxxxxxxxxxxxx
 Senior Lecturer           | http://www.it.bton.ac.uk/staff/je
 School of Computing & MIS | "Those who don't know their history
 University of Brighton    |  are condemned to relive it" (Santayana)
----------------------------------------------------------------------
.



Relevant Pages

  • Re: [NET] Zeit von Timeserver auslesen
    ... wenn ich ein Socket über Port 13 zum Timeserver aufmache. ... Nun möchte ich mir aber nur die Uhrzeit anzeigen lassen und nicht den ... Ein ObjectInputStream kann nur dann ...
    (de.comp.lang.java)
  • Re: Flushing a GZIPOutputStream
    ... Suppose that I have a socket between two processes. ... I put an ObjectInputStream and an ObjectOutputStream. ... if I put a GZIPOutputStream between the ... but the GZIP stream is holding back the ...
    (comp.lang.java.programmer)
  • Flushing a GZIPOutputStream
    ... Suppose that I have a socket between two processes. ... ObjectOutputStream and the sockets out stream (and similar for the input ... streams) then the app hangs on me when I create the ObjectInputStream. ...
    (comp.lang.java.programmer)
  • Re: Flushing a GZIPOutputStream
    ... interesting, but because I am streaming serialized objects, I really ... >> I was just playing around with output streams, ... Suppose that I have a socket between two processes. ... I put an ObjectInputStream and an ObjectOutputStream. ...
    (comp.lang.java.programmer)
  • R: 9585 -N- Bios revisions
    ... socket (except the CPU one ...) ... That's all, folks! ... Please, substitute '@' for AT! ...
    (comp.sys.ibm.ps2.hardware)