## org.autoplot.hapiserver.IdleClockOutputStream

Debugging output stream which times idle periods between write calls.

## IdleClockOutputStream( java.io.OutputStream out )

close( ) → void [view source]

## getBitsPerSecond

getBitsPerSecond( ) → long

return the bits per second.

### Returns:

the bits per second.
[search for examples] [view on GitHub] [view on old javadoc]

## getFirstByteMilli

getFirstByteMilli( ) → long

return time delay to the first byte sent.

### Returns:

time delay to the first byte sent.
[search for examples] [view on GitHub] [view on old javadoc]

## getMaxIdleTime

getMaxIdleTime( ) → long

return the maximum time elapsed between write calls, in milliseconds.

### Returns:

the maximum time elapsed between write calls, in milliseconds.
[search for examples] [view on GitHub] [view on old javadoc]

## getStatsOneLine

getStatsOneLine( ) → String

return all the stats at once.

### Returns:

all the stats at once.
[search for examples] [view on GitHub] [view on old javadoc]

## getTotalBytes

getTotalBytes( ) → long

return the maximum time elapsed between write calls, in milliseconds.

### Returns:

the maximum time elapsed between write calls, in milliseconds.
[search for examples] [view on GitHub] [view on old javadoc]
write( int b ) → void [view source]
write( byte[] b, int off, int len ) → void [view source]