org.jboss.errai.bus.server.util
Class MarkedByteWriteAdapter
java.lang.Object
org.jboss.errai.bus.server.io.AbstractByteWriteAdapter
org.jboss.errai.bus.server.util.MarkedByteWriteAdapter
- All Implemented Interfaces:
- ByteWriteAdapter
public class MarkedByteWriteAdapter
- extends AbstractByteWriteAdapter
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarkedByteWriteAdapter
public MarkedByteWriteAdapter(ByteWriteAdapter writeAdapter)
write
public void write(byte b)
throws IOException
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Specified by:
write
in interface ByteWriteAdapter
- Overrides:
write
in class AbstractByteWriteAdapter
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
dataWasWritten
public boolean dataWasWritten()
getBytesWritten
public int getBytesWritten()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.