Class ChannelContainer

java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.net4j.util.lifecycle.ShareableLifecycle
org.eclipse.net4j.util.container.Container<E>
org.eclipse.net4j.util.container.ModifiableContainer<E>
org.eclipse.net4j.util.container.PersistableContainer<E>
org.eclipse.net4j.util.container.SetContainer<IChannel>
org.eclipse.spi.net4j.ChannelContainer
All Implemented Interfaces:
org.eclipse.net4j.util.container.IContainer<IChannel>, org.eclipse.net4j.util.container.IContainer.Modifiable<IChannel>, org.eclipse.net4j.util.container.IContainer.Persistable<IChannel>, org.eclipse.net4j.util.event.INotifier, org.eclipse.net4j.util.event.INotifier.INotifier2, org.eclipse.net4j.util.lifecycle.IDeactivateable, org.eclipse.net4j.util.lifecycle.ILifecycle, org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation

public class ChannelContainer extends org.eclipse.net4j.util.container.SetContainer<IChannel>
Since:
4.13
Author:
Eike Stepper
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer

    org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>

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

    org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation

    Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier

    org.eclipse.net4j.util.event.INotifier.INotifier2
  • Field Summary

    Fields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle

    USE_LABEL
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChannelContainer(org.eclipse.net4j.util.container.IContainer<?> delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    protected void
     
    protected void
    notifyChannelEvent(org.eclipse.net4j.util.event.IEvent event)
     
    protected void
    notifyProtocolEvent(org.eclipse.net4j.util.event.IEvent event)
     
    protected void
     

    Methods inherited from class org.eclipse.net4j.util.container.SetContainer

    backingStoreAdd, backingStoreClear, backingStoreContains, backingStoreForEach, backingStoreIsEmpty, backingStoreRemove, backingStoreSize, backingStoreToArray, getSet

    Methods inherited from class org.eclipse.net4j.util.container.PersistableContainer

    containerModified, getPersistence, isSavedWhenModified, load, save, setPersistence

    Methods inherited from class org.eclipse.net4j.util.container.ModifiableContainer

    addAllElements, addElement, clear, elementAdded, elementRemoved, firstElementAdded, getComponentType, getElements, isEmpty, lastElementRemoved, removeAllElements, removeElement, sortElements, validateElement

    Methods inherited from class org.eclipse.net4j.util.container.Container

    fireContainerEvent, fireContainerEvent, fireContainerEvent, fireElementAddedEvent, fireElementRemovedEvent, fireElementsAddedEvent, fireElementsRemovedEvent, fireEvent, newContainerEvent, newContainerEvent

    Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle

    activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toString

    Methods inherited from class org.eclipse.net4j.util.event.Notifier

    addListener, addUniqueListener, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.net4j.util.container.IContainer

    getElements, isEmpty

    Methods inherited from interface org.eclipse.net4j.util.event.INotifier

    addListener, getListeners, hasListeners, removeListener
  • Constructor Details

    • ChannelContainer

      public ChannelContainer(org.eclipse.net4j.util.container.IContainer<?> delegate)
  • Method Details

    • notifyChannelEvent

      protected void notifyChannelEvent(org.eclipse.net4j.util.event.IEvent event)
    • notifyProtocolEvent

      protected void notifyProtocolEvent(org.eclipse.net4j.util.event.IEvent event)
    • doActivate

      protected void doActivate() throws Exception
      Overrides:
      doActivate in class org.eclipse.net4j.util.container.PersistableContainer<IChannel>
      Throws:
      Exception
    • doDeactivate

      protected void doDeactivate() throws Exception
      Overrides:
      doDeactivate in class org.eclipse.net4j.util.container.PersistableContainer<IChannel>
      Throws:
      Exception
    • addChannel

      protected void addChannel(IChannel channel)
    • removeChannel

      protected void removeChannel(IChannel channel)