protected static final class HostServerConnection.HostOutputStream
extends java.lang.Object
Constructor and Description |
---|
HostServerConnection.HostOutputStream(java.io.OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
long |
getBytesSent() |
static void |
setAllDebug(boolean debug) |
void |
setDebug(boolean debug) |
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int length) |
void |
write(int i) |
void |
writeByte(int i) |
void |
writeInt(int i) |
void |
writeLong(long l) |
void |
writeShort(int i) |
public HostServerConnection.HostOutputStream(java.io.OutputStream out)
public static void setAllDebug(boolean debug)
public long getBytesSent()
public void setDebug(boolean debug)
public void writeInt(int i) throws java.io.IOException
java.io.IOException
public void writeShort(int i) throws java.io.IOException
java.io.IOException
public void writeLong(long l) throws java.io.IOException
java.io.IOException
public void write(byte[] b) throws java.io.IOException
java.io.IOException
public void write(byte[] b, int offset, int length) throws java.io.IOException
java.io.IOException
public void write(int i) throws java.io.IOException
java.io.IOException
public void writeByte(int i) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException