public interface InternalChannel extends IChannel, IBufferProvider, ILifecycle
Modifier and Type | Interface and Description |
---|---|
static interface |
InternalChannel.SendQueueEvent
|
ILocationAware.Location
IBufferProvider.Introspection
ILifecycle.DeferrableActivation
Modifier and Type | Method and Description |
---|---|
long |
getReceivedBuffers() |
ExecutorService |
getReceiveExecutor() |
Queue<IBuffer> |
getSendQueue() |
long |
getSentBuffers() |
void |
handleBufferFromMultiplexer(IBuffer buffer) |
void |
setID(short id) |
void |
setMultiplexer(IChannelMultiplexer channelMultiplexer) |
void |
setReceiveExecutor(ExecutorService receiveExecutor) |
void |
setUserID(String userID) |
getID, getMultiplexer, getReceiveHandler, sendBuffer, setReceiveHandler
getLocation, isClient, isServer
getUserID
handleBuffer
getBufferCapacity, provideBuffer, retainBuffer
activate, deactivate, getLifecycleState, isActive
addListener, getListeners, hasListeners, removeListener
void setID(short id)
void setUserID(String userID)
ExecutorService getReceiveExecutor()
void setReceiveExecutor(ExecutorService receiveExecutor)
void setMultiplexer(IChannelMultiplexer channelMultiplexer)
void handleBufferFromMultiplexer(IBuffer buffer)
long getReceivedBuffers()
long getSentBuffers()
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.