1.1 --- a/org/sonews/daemon/ChannelLineBuffers.java Wed Jul 22 14:04:05 2009 +0200
1.2 +++ b/org/sonews/daemon/ChannelLineBuffers.java Wed Jun 30 14:48:53 2010 +0200
1.3 @@ -124,6 +124,18 @@
1.4 }
1.5 }
1.6 }
1.7 +
1.8 + /**
1.9 + * @return false if there are output buffers pending to be written to the
1.10 + * client.
1.11 + */
1.12 + boolean isOutputBufferEmpty()
1.13 + {
1.14 + synchronized(outputBuffers)
1.15 + {
1.16 + return outputBuffers.isEmpty();
1.17 + }
1.18 + }
1.19
1.20 /**
1.21 * Goes through the input buffer of the given channel and searches