DataChannelWriter
public class EBlockImageDCWriter extends EBlockAware implements DataChannelWriter
Modifier and Type | Field | Description |
---|---|---|
protected DataOutputStream |
output |
context, EOD, EOF, WILL_CLOSE
Constructor | Description |
---|---|
EBlockImageDCWriter() |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
static void |
close(DataOutputStream myOutput) |
|
void |
endOfData() |
|
void |
setDataStream(OutputStream out) |
|
void |
write(Buffer buf) |
setTransferContext
protected DataOutputStream output
public void setDataStream(OutputStream out)
setDataStream
in interface DataChannelWriter
public void write(Buffer buf) throws IOException
write
in interface DataChannelWriter
IOException
public void endOfData() throws IOException
endOfData
in interface DataChannelWriter
IOException
public static void close(DataOutputStream myOutput) throws IOException
IOException
public void close() throws IOException
close
in interface DataChannelWriter
IOException
Copyright © 2018. All rights reserved.