public interface PacketOutputStream
| Modifier and Type | Method and Description |
|---|---|
boolean |
bufferIsDataAfterMark() |
void |
checkMaxAllowedLength(int length) |
boolean |
checkRemainingSize(int len) |
void |
close() |
boolean |
exceedMaxLength() |
void |
flush() |
void |
flushBufferStopAtMark() |
int |
getMaxAllowedPacket() |
OutputStream |
getOutputStream() |
int |
initialPacketPos() |
boolean |
isMarked() |
void |
mark() |
void |
permitTrace(boolean permitTrace) |
byte[] |
resetMark() |
void |
setMaxAllowedPacket(int maxAllowedPacket) |
void |
setServerThreadId(long serverThreadId,
Boolean isMaster) |
void |
setTraceCache(LruTraceCache traceCache) |
void |
startPacket(int seqNo) |
void |
write(byte[] arr) |
void |
write(byte[] arr,
int off,
int len) |
void |
write(InputStream is,
boolean escape,
boolean noBackslashEscapes) |
void |
write(InputStream is,
long length,
boolean escape,
boolean noBackslashEscapes) |
void |
write(int arr) |
void |
write(Reader reader,
boolean escape,
boolean noBackslashEscapes) |
void |
write(Reader reader,
long length,
boolean escape,
boolean noBackslashEscapes) |
void |
write(String str) |
void |
write(String str,
boolean escape,
boolean noBackslashEscapes) |
void |
writeBytes(byte value,
int len) |
void |
writeBytesEscaped(byte[] bytes,
int len,
boolean noBackslashEscapes) |
void |
writeEmptyPacket() |
void |
writeEmptyPacket(int seqNo) |
void |
writeFieldLength(long length) |
void |
writeInt(int value) |
void |
writeLong(long value) |
void |
writeShort(short value) |
void startPacket(int seqNo)
void writeEmptyPacket(int seqNo)
throws IOException
IOExceptionvoid writeEmptyPacket()
throws IOException
IOExceptionvoid write(int arr)
throws IOException
IOExceptionvoid write(byte[] arr)
throws IOException
IOExceptionvoid write(byte[] arr,
int off,
int len)
throws IOException
IOExceptionvoid write(String str) throws IOException
IOExceptionvoid write(String str, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid write(InputStream is, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid write(InputStream is, long length, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid write(Reader reader, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid write(Reader reader, long length, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid writeBytesEscaped(byte[] bytes,
int len,
boolean noBackslashEscapes)
throws IOException
IOExceptionvoid flush()
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionboolean checkRemainingSize(int len)
boolean exceedMaxLength()
OutputStream getOutputStream()
void writeShort(short value)
throws IOException
IOExceptionvoid writeInt(int value)
throws IOException
IOExceptionvoid writeLong(long value)
throws IOException
IOExceptionvoid writeBytes(byte value,
int len)
throws IOException
IOExceptionvoid writeFieldLength(long length)
throws IOException
IOExceptionint getMaxAllowedPacket()
void setMaxAllowedPacket(int maxAllowedPacket)
void permitTrace(boolean permitTrace)
void setServerThreadId(long serverThreadId,
Boolean isMaster)
void setTraceCache(LruTraceCache traceCache)
void mark() throws MaxAllowedPacketException
MaxAllowedPacketExceptionboolean isMarked()
void flushBufferStopAtMark()
throws IOException
IOExceptionboolean bufferIsDataAfterMark()
byte[] resetMark()
int initialPacketPos()
void checkMaxAllowedLength(int length)
throws MaxAllowedPacketException
MaxAllowedPacketExceptionCopyright © 2019 mariadb.org. All rights reserved.