|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Connection
listener
- notified on connect success or failurepublic void close()
Connection
close
in interface Connection
public OutgoingMessageQueue getOutgoingMessageQueue()
Connection
getOutgoingMessageQueue
in interface Connection
public IncomingMessageQueue getIncomingMessageQueue()
Connection
getIncomingMessageQueue
in interface Connection
public void startMessageProcessing()
Connection
startMessageProcessing
in interface Connection
public Transport getTransport()
Connection
getTransport
in interface Connection
public NetworkConnection getCoreConnection()
public boolean isIncoming()
Connection
isIncoming
in interface Connection
public String getString()
Connection
getString
in interface Connection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |