public interface InternalChannel extends IChannel, IBufferProvider, ILifecycle
Modifier and Type | Interface and Description |
---|---|
static interface |
InternalChannel.SendQueueEvent
|
ILocationAware.Location
IBufferProvider.Introspection, IBufferProvider.Notification
ILifecycle.DeferrableActivation
Modifier and Type | Method and Description |
---|---|
long |
getReceivedBuffers() |
java.util.concurrent.ExecutorService |
getReceiveExecutor() |
java.util.Queue<IBuffer> |
getSendQueue() |
long |
getSentBuffers() |
void |
handleBufferFromMultiplexer(IBuffer buffer) |
void |
setID(short id) |
void |
setMultiplexer(IChannelMultiplexer channelMultiplexer) |
void |
setReceiveExecutor(java.util.concurrent.ExecutorService receiveExecutor) |
void |
setUserID(java.lang.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(java.lang.String userID)
java.util.concurrent.ExecutorService getReceiveExecutor()
void setReceiveExecutor(java.util.concurrent.ExecutorService receiveExecutor)
void setMultiplexer(IChannelMultiplexer channelMultiplexer)
void handleBufferFromMultiplexer(IBuffer buffer)
long getReceivedBuffers()
long getSentBuffers()
java.util.Queue<IBuffer> getSendQueue()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html