org.eclipse.spi.net4j

## Interface InternalChannel

- All Superinterfaces:
    Closeable, IBufferHandler, IBufferProvider, IChannel, IDeactivateable, 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...
  Author:
    Eike Stepper

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `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, IBufferProvider.Notification`

    - ### Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle

      `ILifecycle.DeferrableActivation`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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)`

    - ### 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(java.lang.String userID)

      Since:
        2.0

    - #### getReceiveExecutor

          java.util.concurrent.ExecutorService getReceiveExecutor()

    - #### setReceiveExecutor

          void setReceiveExecutor(java.util.concurrent.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

          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