Method Summary |
|
void | close() Close the output stream. |
void | flush() Flush the packet to the output stream setting the last packet flag. |
int | getBufferSize() Retrieve the current output packet size. |
byte | getMaxDecimalBytes() Returns the maximum number of bytes required to output a decimal
given the current
RequestStream.maxPrecision . |
int | getMaxPrecision() Retrive the maximum decimal precision. |
int | getServerType() Retrieve the Server type. |
int | getStreamId() Retrieve the unique stream id. |
int | getTdsVersion() Retrieve the TDS version number. |
void | setBufferSize(int size) |
void | setPacketType(byte pktType) Set the current output packet type. |
void | write(byte b) Write a byte to the output stream. |
void | write(byte[] b) Write an array of bytes to the output stream. |
void | write(byte[] b, int off, int len) Write a partial byte buffer to the output stream. |
void | write(int i) Write an int value to the output stream. |
void | write(short s) Write a short value to the output stream. |
void | write(long l) Write a long value to the output stream. |
void | write(double f) Write a double value to the output stream. |
void | write(float f) Write a float value to the output stream. |
void | write(String s) Write a String object to the output stream. |
void | write(char s, int off, int len) Write a char array object to the output stream. |
void | write(BigDecimal value) Write a BigDecimal value to the output stream. |
void | writeAscii(String s) Write a String to the output stream as translated bytes. |
void | writeReaderBytes(Reader in, int length) Copy the contents of a Reader stream to the server as bytes.
NB. |
void | writeReaderChars(Reader in, int length) Copy the contents of a Reader stream to the server. |
void | writeStreamBytes(InputStream in, int length) Copy the contents of an InputStream to the server. |