org.eclipse.spi.net4j
Interface InternalChannel

All Superinterfaces:
Closeable, IBufferHandler, IBufferProvider, IChannel, ILifecycle, ILocationAware, INotifier, IUserAware
All Known Implementing Classes:
Channel

public interface InternalChannel
extends IChannel, IBufferProvider, ILifecycle

If the meaning of this type isn't clear, there really should be more of a description here...


Nested Class Summary
static interface InternalChannel.SendQueueEvent
          An event fired from a channel when a buffer is enqueued or dequeued.
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.ILocationAware
ILocationAware.Location
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.buffer.IBufferProvider
IBufferProvider.Introspection
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
ILifecycle.DeferrableActivation
 
Method Summary
 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)
           
 
Methods inherited from interface org.eclipse.net4j.channel.IChannel
getID, getMultiplexer, getReceiveHandler, sendBuffer, setReceiveHandler
 
Methods inherited from interface org.eclipse.net4j.ILocationAware
getLocation, isClient, isServer
 
Methods inherited from interface org.eclipse.net4j.util.security.IUserAware
getUserID
 
Methods inherited from interface org.eclipse.net4j.buffer.IBufferHandler
handleBuffer
 
Methods inherited from interface org.eclipse.net4j.util.collection.Closeable
close, isClosed
 
Methods inherited from interface org.eclipse.net4j.buffer.IBufferProvider
getBufferCapacity, provideBuffer, retainBuffer
 
Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActive
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
 

Method Detail

setID

void setID(short id)
Since:
2.0

setUserID

void setUserID(String userID)
Since:
2.0

getReceiveExecutor

ExecutorService getReceiveExecutor()

setReceiveExecutor

void setReceiveExecutor(ExecutorService receiveExecutor)

setMultiplexer

void setMultiplexer(IChannelMultiplexer channelMultiplexer)
Since:
2.0

handleBufferFromMultiplexer

void handleBufferFromMultiplexer(IBuffer buffer)

getReceivedBuffers

long getReceivedBuffers()
Since:
3.0

getSentBuffers

long getSentBuffers()
Since:
3.0

getSendQueue

Queue<IBuffer> getSendQueue()


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.