org.netbeans.lib.collab
Interface ContentStreamListener


public interface ContentStreamListener

Since:
version 0.1

Field Summary
static int STATUS_STREAM_ABORTED
          Status which indicates that the stream was aborted
static int STATUS_STREAM_DISCONNECTED
          Status which indicates that the stream was disconnected
static int STATUS_STREAM_OK
          Status which indicates that the stream was successfully closed
static int STATUS_STREAM_REJECTED
          Status which indicates that the stream was rejected
 
Method Summary
 void closed(int status, java.lang.String reason)
          This method is called when the stream is closed
 void started()
          This method is called when the stream is successfully started
 

Field Detail

STATUS_STREAM_OK

public static final int STATUS_STREAM_OK
Status which indicates that the stream was successfully closed

See Also:
Constant Field Values

STATUS_STREAM_REJECTED

public static final int STATUS_STREAM_REJECTED
Status which indicates that the stream was rejected

See Also:
Constant Field Values

STATUS_STREAM_DISCONNECTED

public static final int STATUS_STREAM_DISCONNECTED
Status which indicates that the stream was disconnected

See Also:
Constant Field Values

STATUS_STREAM_ABORTED

public static final int STATUS_STREAM_ABORTED
Status which indicates that the stream was aborted

See Also:
Constant Field Values
Method Detail

started

public void started()
This method is called when the stream is successfully started


closed

public void closed(int status,
                   java.lang.String reason)
This method is called when the stream is closed

Parameters:
status - The status of the stream as defined in ContentStreamListener
reason - The reason for closing the stream