protected class STATE.StateOutputStream extends OutputStream
Modifier and Type | Field and Description |
---|---|
protected long |
bytesWrittenCounter |
protected AtomicBoolean |
closed |
protected Address |
stateRequester |
Constructor and Description |
---|
STATE.StateOutputStream(Address stateRequester) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected InterruptedIOException |
interrupted(int cnt) |
protected void |
sendMessage(byte[] b,
int off,
int len) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flush
protected final Address stateRequester
protected final AtomicBoolean closed
protected long bytesWrittenCounter
public STATE.StateOutputStream(Address stateRequester)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
protected void sendMessage(byte[] b, int off, int len) throws IOException
IOException
protected InterruptedIOException interrupted(int cnt)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.