|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetworkConnectionBase
Method Summary | |
---|---|
void |
addRateLimiter(LimitedRateGroup limiter,
boolean upload)
|
int |
getDownloadLimit()
|
ConnectionEndpoint |
getEndpoint()
|
IncomingMessageQueue |
getIncomingMessageQueue()
Get the connection's incoming message queue. |
int |
getMssSize()
|
OutgoingMessageQueue |
getOutgoingMessageQueue()
Get the connection's outgoing message queue. |
LimitedRateGroup[] |
getRateLimiters(boolean upload)
|
java.lang.String |
getString()
|
TransportBase |
getTransportBase()
Get the connection's data transport interface. |
int |
getUploadLimit()
|
boolean |
isIncoming()
|
boolean |
isLANLocal()
Is the connection within the local LAN network. |
void |
notifyOfException(java.lang.Throwable error)
Inform connection of a thrown exception. |
void |
removeRateLimiter(LimitedRateGroup limiter,
boolean upload)
|
void |
setDownloadLimit(int limit)
|
void |
setUploadLimit(int limit)
|
Method Detail |
---|
ConnectionEndpoint getEndpoint()
void notifyOfException(java.lang.Throwable error)
error
- exceptionOutgoingMessageQueue getOutgoingMessageQueue()
IncomingMessageQueue getIncomingMessageQueue()
TransportBase getTransportBase()
int getMssSize()
boolean isIncoming()
boolean isLANLocal()
void setUploadLimit(int limit)
int getUploadLimit()
void setDownloadLimit(int limit)
int getDownloadLimit()
LimitedRateGroup[] getRateLimiters(boolean upload)
void addRateLimiter(LimitedRateGroup limiter, boolean upload)
void removeRateLimiter(LimitedRateGroup limiter, boolean upload)
java.lang.String getString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |