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.Closeable
close
在接口中 java.lang.AutoCloseable
close
在类中 java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
在类中 java.io.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
在类中 java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
在类中 java.io.OutputStream
java.io.IOException
protected void sendMessage(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
protected java.io.InterruptedIOException interrupted(int cnt)