public interface PacketOutputStream
Modifier and Type | Method and Description |
---|---|
boolean |
checkRemainingSize(int len) |
void |
close() |
void |
flush() |
int |
getMaxAllowedPacket() |
OutputStream |
getOutputStream() |
boolean |
isAllowedCmdLength() |
void |
permitTrace(boolean permitTrace) |
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
IOException
void writeEmptyPacket() throws IOException
IOException
void write(int arr) throws IOException
IOException
void write(byte[] arr) throws IOException
IOException
void write(byte[] arr, int off, int len) throws IOException
IOException
void write(String str) throws IOException
IOException
void write(String str, boolean escape, boolean noBackslashEscapes) throws IOException
IOException
void write(InputStream is, boolean escape, boolean noBackslashEscapes) throws IOException
IOException
void write(InputStream is, long length, boolean escape, boolean noBackslashEscapes) throws IOException
IOException
void write(Reader reader, boolean escape, boolean noBackslashEscapes) throws IOException
IOException
void write(Reader reader, long length, boolean escape, boolean noBackslashEscapes) throws IOException
IOException
void writeBytesEscaped(byte[] bytes, int len, boolean noBackslashEscapes) throws IOException
IOException
void flush() throws IOException
IOException
void close() throws IOException
IOException
boolean checkRemainingSize(int len)
boolean isAllowedCmdLength()
OutputStream getOutputStream()
void writeShort(short value) throws IOException
IOException
void writeInt(int value) throws IOException
IOException
void writeLong(long value) throws IOException
IOException
void writeBytes(byte value, int len) throws IOException
IOException
void writeFieldLength(long length) throws IOException
IOException
int getMaxAllowedPacket()
void setMaxAllowedPacket(int maxAllowedPacket)
void permitTrace(boolean permitTrace)
void setServerThreadId(long serverThreadId, Boolean isMaster)
void setTraceCache(LruTraceCache traceCache)
Copyright © 2017. All rights reserved.