|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NotConnectedException | |
org.indy |
Uses of NotConnectedException in org.indy |
Methods in org.indy that throw NotConnectedException | |
protected int |
Connection.performCapture(Connection.Capturable dest,
java.lang.String delim,
boolean isRFCMessage)
Reads lines from the connection into dest until delim is hit,
and returns the number of lines read into dest |
int |
Connection.capture(StringList strings,
java.lang.String delim,
boolean isRFC)
Reads lines of text from the connection until into a StringList
delim is found and returns the number of lines read. |
int |
Connection.capture(java.lang.StringBuffer strings,
java.lang.String delim,
boolean isRFC)
Reads lines of text from the connection into a StringBuffer
until delim is found and returns the number of lines read. |
int |
Connection.getResponse(int[] allowedResponses)
Reads a response from the remote peer, typically of the form of a response code and some text, and checks that the code is within allowedResponses . |
int |
Connection.getResponse(int allowedResponse)
Retreives a response from the connection using getInternalResponse
and checks it for validity. |
protected void |
Connection.getInternalResponse()
Used to implement the processing required for Connection.getResponse(int[]) . |
java.lang.String |
Connection.readLineWait(int failCount)
Invokes readLine and will allow upto
failCount time outs before throwing
ReadTimedOutException . |
java.lang.String |
Connection.readLineWait()
DOCUMENT ME! |
java.lang.String |
Connection.readLine()
Reads a line of text from the connection. |
java.lang.String |
Connection.readLine(int timeout,
int maxLineLength)
Reads a line of text from the connection. |
int |
Connection.readBuffer(byte[] b,
int len)
Fills a buffer, b , with up to len bytes of
data from the connection. |
int |
Connection.readInt()
Reads an int from this connection. |
long |
Connection.readLong()
Reads a long from the connection |
char |
Connection.readChar()
Read a char from the connection |
short |
Connection.readShort()
Reads a short from the connection |
java.io.InputStream |
Connection.readStream(int byteCount,
boolean readUntilDisconnect)
Reads bytes from the socket and returns them in an InputStream. |
void |
Connection.write(java.lang.String s)
Write a String to this connection. |
void |
Connection.writeBuffer(byte[] buf)
Write a buffer of bytes to this connection. |
java.lang.String |
Connection.allData()
Reads all data from the connection until disconnection occurs, and returns it as a String using the platform character
encoding. |
java.lang.String |
Connection.allData(java.lang.String encoding)
Reads all data from the connection until disconnection occurs, and returns it as a String using the character
encoding specified by encoding , or the platform default
if encoding is null . |
java.lang.String |
TCPClient.readLineWait(int failCount)
DOCUMENT ME! |
java.lang.String |
TCPClient.readLineWait()
DOCUMENT ME! |
java.lang.String |
TCPClient.readLine()
DOCUMENT ME! |
java.lang.String |
TCPClient.readLine(int timeout,
int maxLineLength)
DOCUMENT ME! |
void |
TCPClient.readBuffer(byte[] b,
int len)
DOCUMENT ME! |
int |
TCPClient.readInt()
DOCUMENT ME! |
long |
TCPClient.readLong()
DOCUMENT ME! |
char |
TCPClient.readChar()
DOCUMENT ME! |
short |
TCPClient.readShort()
DOCUMENT ME! |
java.io.InputStream |
TCPClient.readStream(int byteCount,
boolean readUntilDisconnect)
DOCUMENT ME! |
void |
TCPClient.write(java.lang.String s)
DOCUMENT ME! |
void |
TCPClient.writeBuffer(byte[] buf)
DOCUMENT ME! |
void |
TCPClient.writeLine(java.lang.String line)
DOCUMENT ME! |
void |
TCPClient.writeHeader(StringList header)
DOCUMENT ME! |
void |
TCPClient.writeInt(int value)
DOCUMENT ME! |
void |
TCPClient.writeLong(long value)
DOCUMENT ME! |
void |
TCPClient.writeShort(short value)
DOCUMENT ME! |
void |
TCPClient.writeStrings(StringList strings,
boolean writeLineCount)
DOCUMENT ME! |
void |
TCPClient.writeStream(java.io.InputStream stream,
int len,
boolean writeByteCount)
DOCUMENT ME! |
void |
TCPClient.writeFile(java.io.File f)
DOCUMENT ME! |
java.lang.String |
TCPClient.allData()
DOCUMENT ME! |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |