| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.azureus2.pluginsimpl.local.network.ConnectionImpl
public class ConnectionImpl
| Constructor Summary | |
|---|---|
ConnectionImpl(NetworkConnection core_connection,
               boolean incoming)
 | 
|
| Method Summary | |
|---|---|
 void | 
close()
Close and shutdown this connection.  | 
 void | 
connect(ConnectionListener listener)
Connect this connection's transport, i.e.  | 
 NetworkConnection | 
getCoreConnection()
 | 
 IncomingMessageQueue | 
getIncomingMessageQueue()
Get the connection's incoming message queue.  | 
 OutgoingMessageQueue | 
getOutgoingMessageQueue()
Get the connection's outgoing message queue.  | 
 String | 
getString()
descriptive text for the connection  | 
 Transport | 
getTransport()
Returns the transport object for this connection.  | 
 boolean | 
isIncoming()
Returns true if the connection represents an incoming connection.  | 
 void | 
startMessageProcessing()
Begin processing incoming and outgoing message queues.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ConnectionImpl(NetworkConnection core_connection,
                      boolean incoming)
| Method Detail | 
|---|
public void connect(ConnectionListener listener)
Connection
connect in interface Connectionlistener - notified on connect success or failurepublic void close()
Connection
close in interface Connectionpublic OutgoingMessageQueue getOutgoingMessageQueue()
Connection
getOutgoingMessageQueue in interface Connectionpublic IncomingMessageQueue getIncomingMessageQueue()
Connection
getIncomingMessageQueue in interface Connectionpublic void startMessageProcessing()
Connection
startMessageProcessing in interface Connectionpublic Transport getTransport()
Connection
getTransport in interface Connectionpublic NetworkConnection getCoreConnection()
public boolean isIncoming()
Connection
isIncoming in interface Connectionpublic String getString()
Connection
getString in interface Connection
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||