[libvirt] [libvirt-java] [PATCH 58/65] Implement interface ByteChannel for Stream class

Daniel P. Berrange berrange at redhat.com
Fri Feb 21 11:15:39 UTC 2014


On Thu, Feb 13, 2014 at 04:23:06PM +0100, Claudio Bley wrote:
> This makes the Stream class a native citizen of the Java API.
> 
> It can be used with the NIO Channel API, as well as (In,Out)putStream's
> using the java.nio.channels.Channels convenience wrappers.
> 
> Signed-off-by: Claudio Bley <cbley at av-test.de>
> ---
>  src/main/java/org/libvirt/Stream.java      |  183 ++++++++++++++++++++++++++--
>  src/main/java/org/libvirt/jna/Libvirt.java |    4 +-
>  2 files changed, 178 insertions(+), 9 deletions(-)

ACK


Regards,
Daniel
--
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list