LimeWire Consolidated API

org.limewire.io
Interface Connectable

All Superinterfaces:
Address, IpPort
All Known Subinterfaces:
Connection, RoutedConnection, Uploader
All Known Implementing Classes:
AbstractConnection, AbstractUploader, BTUploader, ConnectableImpl, Endpoint, EndpointData, ExtendedEndpoint, GnutellaConnection, HTTPUploader, IpPortForSelf, PingReplyImpl, TorrentLocation

public interface Connectable
extends IpPort, Address

Exposes all information necessary for connecting to a host.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.limewire.io.IpPort
IpPort.IpComparator, IpPort.IpPortComparator
 
Nested classes/interfaces inherited from interface org.limewire.io.Address
Address.EventType
 
Field Summary
static Comparator<Connectable> COMPARATOR
           
static List<Connectable> EMPTY_LIST
          An empty list, casted to an Connectable.
static Set<Connectable> EMPTY_SET
          An empty set, casted to an Connectable.
 
Fields inherited from interface org.limewire.io.IpPort
IP_COMPARATOR
 
Method Summary
 boolean isTLSCapable()
          Determines if the host is capable of receiving incoming TLS connections.
 
Methods inherited from interface org.limewire.io.IpPort
getAddress, getInetAddress, getInetSocketAddress, getPort
 
Methods inherited from interface org.limewire.io.Address
equals, getAddressDescription, hashCode
 

Field Detail

COMPARATOR

static final Comparator<Connectable> COMPARATOR

EMPTY_LIST

static final List<Connectable> EMPTY_LIST
An empty list, casted to an Connectable.


EMPTY_SET

static final Set<Connectable> EMPTY_SET
An empty set, casted to an Connectable.

Method Detail

isTLSCapable

boolean isTLSCapable()
Determines if the host is capable of receiving incoming TLS connections.


LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.