FileDocCategorySizeDatePackage
NetworkConnectionBase.javaAPI DocAzureus 3.0.3.42372Wed Feb 14 17:18:58 GMT 2007com.aelitis.azureus.core.networkmanager

NetworkConnectionBase

public interface NetworkConnectionBase

Fields Summary
Constructors Summary
Methods Summary
public voidaddRateLimiter(LimitedRateGroup limiter, boolean upload)

public intgetDownloadLimit()

public ConnectionEndpointgetEndpoint()

public IncomingMessageQueuegetIncomingMessageQueue()
Get the connection's incoming message queue.

return
inbound message queue

public intgetMssSize()

public OutgoingMessageQueuegetOutgoingMessageQueue()
Get the connection's outgoing message queue.

return
outbound message queue

public LimitedRateGroup[]getRateLimiters(boolean upload)

public java.lang.StringgetString()

public TransportBasegetTransportBase()
Get the connection's data transport interface.

return
the transport - MAY BE NULL if not yet fully connected

public intgetUploadLimit()

public booleanisLANLocal()
Is the connection within the local LAN network.

return
true if within LAN, false of outside the LAN segment

public voidnotifyOfException(java.lang.Throwable error)
Inform connection of a thrown exception.

param
error exception

public voidremoveRateLimiter(LimitedRateGroup limiter, boolean upload)

public voidsetDownloadLimit(int limit)

public voidsetUploadLimit(int limit)