protected static final class HostServerConnection.HostOutputStream extends Object
Constructor and Description |
---|
HostServerConnection.HostOutputStream(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(OutputStream out)
public static void setAllDebug(boolean debug)
public long getBytesSent()
public void setDebug(boolean debug)
public void writeInt(int i) throws IOException
IOException
public void writeShort(int i) throws IOException
IOException
public void writeLong(long l) throws IOException
IOException
public void write(byte[] b) throws IOException
IOException
public void write(byte[] b, int offset, int length) throws IOException
IOException
public void write(int i) throws IOException
IOException
public void writeByte(int i) throws IOException
IOException
public void close() throws IOException
IOException
public void flush() throws IOException
IOException