protected class STATE.StateOutputStream
extends java.io.OutputStream
| 限定符和类型 | 字段和说明 |
|---|---|
protected long |
bytesWrittenCounter |
protected java.util.concurrent.atomic.AtomicBoolean |
closed |
protected Address |
stateRequester |
| 构造器和说明 |
|---|
STATE.StateOutputStream(Address stateRequester) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
protected java.io.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) |
protected final Address stateRequester
protected final java.util.concurrent.atomic.AtomicBoolean closed
protected long bytesWrittenCounter
public STATE.StateOutputStream(Address stateRequester)
public void close()
throws java.io.IOException
close 在接口中 java.io.Closeableclose 在接口中 java.lang.AutoCloseableclose 在类中 java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write 在类中 java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write 在类中 java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write 在类中 java.io.OutputStreamjava.io.IOExceptionprotected void sendMessage(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionprotected java.io.InterruptedIOException interrupted(int cnt)