Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.action.multipart
Interface OutputStreamListener

All Known Implementing Classes:
UploadListener

public interface OutputStreamListener

This interface is used to listen for events on an OutputStream.


Method Summary
 void bytesRead(int bytesRead)
          Called when bytes are read from the output stream.
 void done()
          Called when reading from the output stream is completed.
 void error(java.lang.String message)
          Called if there was an error reading from the output stream.
 void start()
          Called when reading from the output stream is started.
 

Method Detail

start

void start()
Called when reading from the output stream is started.


bytesRead

void bytesRead(int bytesRead)
Called when bytes are read from the output stream.

Parameters:
bytesRead - the number of bytes read from the stream.

error

void error(java.lang.String message)
Called if there was an error reading from the output stream.

Parameters:
message - the error message.

done

void done()
Called when reading from the output stream is completed.


Jive Forums Project Page

Copyright © 1999-2006 Jive Software.