unfiltered.netty.websockets

SocketPlan

case class SocketPlan(intent: SocketIntent, pass: (ChannelHandlerContext, AnyRef) ⇒ Unit, shaker: WebSocketServerHandshaker, exceptions: ExceptionHandler) extends ChannelInboundHandlerAdapter with Product with Serializable

The result of defined Intent should result in a SocketPlan value. SocketPlans are handlers for message frames in the WebSocket protocol. If an unexpected message is received by a SocketPlan, the request handling will automatically be delegated the PassHandler. As part of the WebSocket protocol, server errors should be reported to the websocket before closing. This is handled for you.

Source
plans.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, ChannelInboundHandlerAdapter, ChannelInboundHandler, ChannelHandlerAdapter, ChannelHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SocketPlan
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ChannelInboundHandlerAdapter
  7. ChannelInboundHandler
  8. ChannelHandlerAdapter
  9. ChannelHandler
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SocketPlan(intent: SocketIntent, pass: (ChannelHandlerContext, AnyRef) ⇒ Unit, shaker: WebSocketServerHandshaker, exceptions: ExceptionHandler)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def attempt: (SocketCallback) ⇒ Option[Unit]

  8. def channelActive(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  9. def channelInactive(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  10. final def channelRead(ctx: ChannelHandlerContext, msg: AnyRef): Unit

    Definition Classes
    SocketPlan → ChannelInboundHandlerAdapter → ChannelInboundHandler
  11. final def channelReadComplete(ctx: ChannelHandlerContext): Unit

    Definition Classes
    SocketPlan → ChannelInboundHandlerAdapter → ChannelInboundHandler
  12. def channelRegistered(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  13. def channelUnregistered(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  14. def channelWritabilityChanged(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def ensureNotSharable(): Unit

    Attributes
    protected[io.netty.channel]
    Definition Classes
    ChannelHandlerAdapter
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def exceptionCaught(ctx: ChannelHandlerContext, throwable: Throwable): Unit

    Definition Classes
    SocketPlan → ChannelInboundHandlerAdapter → ChannelInboundHandler → ChannelHandlerAdapter → ChannelHandler
  19. val exceptions: ExceptionHandler

  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def handlerAdded(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelHandlerAdapter → ChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  23. def handlerRemoved(arg0: ChannelHandlerContext): Unit

    Definition Classes
    ChannelHandlerAdapter → ChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  24. val intent: SocketIntent

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def isSharable(): Boolean

    Definition Classes
    ChannelHandlerAdapter
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. val pass: (ChannelHandlerContext, AnyRef) ⇒ Unit

  31. val shaker: WebSocketServerHandshaker

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def userEventTriggered(arg0: ChannelHandlerContext, arg1: Any): Unit

    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ChannelInboundHandlerAdapter

Inherited from ChannelInboundHandler

Inherited from ChannelHandlerAdapter

Inherited from ChannelHandler

Inherited from AnyRef

Inherited from Any

Ungrouped