org.gudy.azureus2.pluginsimpl.local.messaging
Interface GenericMessageConnectionAdapter
- All Known Implementing Classes:
- GenericMessageConnectionDirect, GenericMessageConnectionIndirect
public interface GenericMessageConnectionAdapter
setOwner
void setOwner(GenericMessageConnectionImpl _owner)
getEndpoint
GenericMessageEndpoint getEndpoint()
getMaximumMessageSize
int getMaximumMessageSize()
getType
String getType()
getTransportType
int getTransportType()
connect
void connect(ByteBuffer initial_data,
GenericMessageConnectionAdapter.ConnectionListener listener)
accepted
void accepted()
send
void send(PooledByteBuffer message)
throws MessageException
- Throws:
MessageException
addInboundRateLimiter
void addInboundRateLimiter(RateLimiter limiter)
removeInboundRateLimiter
void removeInboundRateLimiter(RateLimiter limiter)
addOutboundRateLimiter
void addOutboundRateLimiter(RateLimiter limiter)
removeOutboundRateLimiter
void removeOutboundRateLimiter(RateLimiter limiter)
close
void close()
throws MessageException
- Throws:
MessageException