Uses of Class
org.indy.io.PeerDisconnectedException

Packages that use PeerDisconnectedException
org.indy   
org.indy.io   
 

Uses of PeerDisconnectedException in org.indy
 

Methods in org.indy that throw PeerDisconnectedException
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.
 byte[] Connection.currentReadBuffer()
          Returns the current data that can be read without blocking.
protected  byte[] Connection.readTillDisconnect()
          DOCUMENT ME!
 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!
 byte[] TCPClient.currentReadBuffer()
          DOCUMENT ME!
 java.lang.String TCPClient.allData()
          DOCUMENT ME!
 

Uses of PeerDisconnectedException in org.indy.io
 

Methods in org.indy.io that throw PeerDisconnectedException
 java.lang.String AbstractIOHandler.readLine(int timeout, int maxLineLength)
          Reads a line of data from the socket
 int IOHandlerSocket.read()
          Reads a single byte of data from the socket
 java.lang.String IOHandlerSocket.readLine(int timeout, int maxLineLength, java.lang.String encoding)
          Reads a line of data from the socket and assembles it using the given encoding.
 



Copyright © 2002-2002 IndyJ. All Rights Reserved.