Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Freenet
Class Connection  view Connection download Connection.java

java.lang.Object
  extended byFreenet.Connection
Direct Known Subclasses:
tcpConnection

public abstract class Connection
extends java.lang.Object


Field Summary
 java.io.InputStream in
           
 java.io.OutputStream out
           
 
Constructor Summary
Connection()
           
 
Method Summary
abstract  void close()
           
abstract  Address getMyAddress()
           
abstract  Address getMyAddress(ListeningAddress lstaddr)
           
abstract  Address getPeerAddress()
           
abstract  Address getPeerAddress(ListeningAddress lstaddr)
           
abstract  void setSoTimeout(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

public java.io.InputStream in

out

public java.io.OutputStream out
Constructor Detail

Connection

public Connection()
Method Detail

close

public abstract void close()

setSoTimeout

public abstract void setSoTimeout(int timeout)
                           throws java.io.IOException

getMyAddress

public abstract Address getMyAddress(ListeningAddress lstaddr)

getMyAddress

public abstract Address getMyAddress()

getPeerAddress

public abstract Address getPeerAddress(ListeningAddress lstaddr)

getPeerAddress

public abstract Address getPeerAddress()