org.gudy.azureus2.plugins.messaging.generic
Interface GenericMessageConnection
- All Known Implementing Classes:
- GenericMessageConnectionImpl, SESTSConnectionImpl
public interface GenericMessageConnection
TT_NONE
static final int TT_NONE
- See Also:
- Constant Field Values
TT_TCP
static final int TT_TCP
- See Also:
- Constant Field Values
TT_UDP
static final int TT_UDP
- See Also:
- Constant Field Values
TT_INDIRECT
static final int TT_INDIRECT
- See Also:
- Constant Field Values
getEndpoint
GenericMessageEndpoint getEndpoint()
connect
void connect()
throws MessageException
- Throws:
MessageException
send
void send(PooledByteBuffer message)
throws MessageException
- Throws:
MessageException
close
void close()
throws MessageException
- Throws:
MessageException
getMaximumMessageSize
int getMaximumMessageSize()
getType
String getType()
getTransportType
int getTransportType()
addInboundRateLimiter
void addInboundRateLimiter(RateLimiter limiter)
removeInboundRateLimiter
void removeInboundRateLimiter(RateLimiter limiter)
addOutboundRateLimiter
void addOutboundRateLimiter(RateLimiter limiter)
removeOutboundRateLimiter
void removeOutboundRateLimiter(RateLimiter limiter)
addListener
void addListener(GenericMessageConnectionListener listener)
removeListener
void removeListener(GenericMessageConnectionListener listener)