org.jboss.remotingjmx.protocol
Class CancellableDataOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.jboss.remotingjmx.protocol.CancellableDataOutputStream
- All Implemented Interfaces:
- Closeable, DataOutput, Flushable, org.xnio.Cancellable
public class CancellableDataOutputStream
- extends DataOutputStream
- implements org.xnio.Cancellable
A DataOutputStream implementation to wrap a MessageOutputStream to allow it to be cancelled.
- Author:
- Darran Lofthouse
Method Summary |
org.jboss.remoting3.MessageOutputStream |
cancel()
|
Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CancellableDataOutputStream
public CancellableDataOutputStream(org.jboss.remoting3.MessageOutputStream mos)
cancel
public org.jboss.remoting3.MessageOutputStream cancel()
- Specified by:
cancel
in interface org.xnio.Cancellable
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.