All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
PacketOutputStream |
assureBufferCapacity(int len) |
void |
close() |
void |
finishPacket() |
void |
flush() |
protected void |
increase(int newCapacity) |
void |
sendFile(InputStream is,
int seq) |
void |
sendStream(InputStream is,
long readLength,
MySQLCharset charset) |
void |
sendStream(InputStream is,
MySQLCharset charset) |
void |
sendStream(Reader reader,
long readLength,
MySQLCharset charset) |
void |
sendStream(Reader reader,
MySQLCharset charset) |
void |
setMaxAllowedPacket(int maxAllowedPacket) |
void |
setUseCompression(boolean useCompression) |
void |
startPacket(int seqNo) |
void |
startPacket(int seqNo,
boolean checkPacketLength) |
void |
write(byte[] bytes) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
PacketOutputStream |
writeByte(byte theByte) |
PacketOutputStream |
writeByteArray(byte[] bytes) |
PacketOutputStream |
writeByteArrayLength(byte[] bytes) |
PacketOutputStream |
writeBytes(byte theByte,
int count) |
PacketOutputStream |
writeDateLength(Calendar calendar) |
void |
writeEmptyPacket(int seqNo) |
PacketOutputStream |
writeFieldLength(long length) |
PacketOutputStream |
writeInt(int theInt) |
PacketOutputStream |
writeLong(long theLong) |
PacketOutputStream |
writeShort(short theShort) |
PacketOutputStream |
writeString(String str) |
PacketOutputStream |
writeStringLength(String str) |
PacketOutputStream |
writeTimeLength(Calendar calendar,
boolean fractionalSeconds) |
PacketOutputStream |
writeTimestampLength(Calendar calendar,
Timestamp ts) |