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) |
flushprotected final Address stateRequester
protected final AtomicBoolean closed
protected long bytesWrittenCounter
public STATE.StateOutputStream(Address stateRequester)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionprotected void sendMessage(byte[] b,
int off,
int len)
throws IOException
IOExceptionprotected InterruptedIOException interrupted(int cnt)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.