Packages

t

fr.linkit.api.gnom.cache.traffic

CachePacketChannel

trait CachePacketChannel extends RequestPacketChannel

This channel is given to any fr.linkit.api.gnom.cache.SharedCache (according to fr.linkit.api.gnom.cache.SharedCacheFactory) and performs all the request sending and reception.
a CacheHandler can be set in order to complete requests or to perform content handling (fr.linkit.api.gnom.cache.traffic.handler.CacheContentHandler), or choose and get any information about the engines that are attaching to the cache (fr.linkit.api.gnom.cache.traffic.handler.CacheAttachHandler).

See also

CacheHandler

fr.linkit.api.gnom.cache.traffic.handler.CacheAttachHandler

fr.linkit.api.gnom.cache.traffic.handler.CacheContentHandler

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CachePacketChannel
  2. RequestPacketChannel
  3. PacketChannel
  4. PacketInjectable
  5. PacketAttributesPresence
  6. JustifiedCloseable
  7. AutoCloseable
  8. TrafficObject
  9. DynamicNetworkObject
  10. NetworkObject
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def addDefaultAttribute(key: Serializable, value: Serializable): CachePacketChannel.this.type
    Definition Classes
    PacketAttributesPresence
  2. abstract def addRequestListener(callback: (RequestPacketBundle) => Unit): Unit
    Definition Classes
    RequestPacketChannel
  3. abstract val cacheID: Int

    This cache's identifier

  4. abstract def canInjectFrom(identifier: String): Boolean
    Definition Classes
    PacketInjectable
  5. abstract def close(reason: Reason): Unit
    Definition Classes
    JustifiedCloseable
  6. abstract def drainAllAttributes(packetAttributes: PacketAttributes): CachePacketChannel.this.type
    Definition Classes
    PacketAttributesPresence
  7. abstract def drainAllDefaultAttributes(packetAttributes: PacketAttributesPresence): CachePacketChannel.this.type
    Definition Classes
    PacketAttributesPresence
  8. abstract def getDefaultAttribute[S](key: Serializable): Option[S]
    Definition Classes
    PacketAttributesPresence
  9. abstract def getHandler: Option[CacheHandler]

    returns

    Some(CacheHandler) if the handler is set, None instead

  10. abstract def inject(bundle: PacketBundle): Unit
    Definition Classes
    PacketInjectable
    Annotations
    @workerExecution()
  11. abstract def injectStoredBundles(): Unit
    Definition Classes
    PacketChannel
  12. abstract def isClosed: Boolean
    Definition Classes
    JustifiedCloseable
  13. abstract def makeRequest(scope: ChannelScope): Submitter[ResponseHolder]
    Definition Classes
    RequestPacketChannel
  14. abstract def makeRequest(scopeFactory: ScopeFactory[_ <: ChannelScope]): Submitter[ResponseHolder]
    Definition Classes
    RequestPacketChannel
  15. abstract val manager: SharedCacheManager

    The manager of this channel's cache.

  16. abstract val ownerID: String
    Definition Classes
    PacketInjectable
  17. abstract def presence: NetworkObjectPresence
    Definition Classes
    DynamicNetworkObject
  18. abstract def reference: TrafficReference

    The reference of this Network Object.

    The reference of this Network Object.

    Definition Classes
    NetworkObject
    See also

    NetworkObjectReference

  19. abstract def setHandler(handler: CacheHandler): Unit

    sets the cache handler.

    sets the cache handler.

    handler

    the cache's handler

    Exceptions thrown

    IllegalStateException if the handler is already set.

  20. abstract def storeBundle(bundle: ChannelPacketBundle): Unit
    Definition Classes
    PacketChannel
  21. abstract val traffic: PacketTraffic

    The traffic handler that is directly or not injecting the packets

    The traffic handler that is directly or not injecting the packets

    Definition Classes
    PacketInjectable
  22. abstract val trafficPath: Array[Int]
    Definition Classes
    TrafficObject

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def close(): Unit
    Definition Classes
    JustifiedCloseable → AutoCloseable
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isOpen: Boolean
    Definition Classes
    JustifiedCloseable
    Annotations
    @inline()
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from RequestPacketChannel

Inherited from PacketChannel

Inherited from PacketInjectable

Inherited from JustifiedCloseable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped