JBoss Common Classes 2.2.17.GA

org.jboss.util.stream
Interface StreamListener


public interface StreamListener

A stream listener

Version:
$Revision: 1958 $
Author:
Adrian Brock

Method Summary
 void onStreamNotification(Object source, int size)
          Invoked by notifiying streams
 

Method Detail

onStreamNotification

void onStreamNotification(Object source,
                          int size)
Invoked by notifiying streams

Parameters:
source - the stream
size - the number of bytes since the last notification

JBoss Common Classes 2.2.17.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.