trait AtmosphereClient extends AtmosphereClientFilters
Provides a handle for a single Atmosphere connection.
Each browser or other device which connects to an atmosphere route is
assigned its own AtmosphereClient, with a uuid. This is a good bet for
subclassing if you need to implement your own message distribution logic.
Subclasses may define their own ClientFilter logic in addition to the
stock ClientFilters already defined, in order to segment message delivery.
- Alphabetic
 - By Inheritance
 
- AtmosphereClient
 - AtmosphereClientFilters
 - Serializable
 - Serializable
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Abstract Value Members
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        receive: AtmoReceive
      
      
      
Receive an inbound message.
 
Concrete Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !(msg: OutboundMessage)(implicit executionContext: ExecutionContext): Future[OutboundMessage]
      
      
      
A convenience method which sends a message only to the current client, using a broadcast filter.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ><(msg: OutboundMessage, to: ClientFilter = Others)(implicit executionContext: ExecutionContext): Future[OutboundMessage]
      
      
      
Broadcast a message to all clients, skipping the current client by default (i.e.
Broadcast a message to all clients, skipping the current client by default (i.e. normal chat server behaviour). Optionally filter the clients to deliver the message to by applying a filter.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        Everyone: ClientFilter
      
      
      
- Attributes
 - protected
 - Definition Classes
 - AtmosphereClientFilters
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        Me: ClientFilter
      
      
      
- Attributes
 - protected
 - Definition Classes
 - AtmosphereClientFilters
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        OnlySelf: ClientFilter
      
      
      
Deliver the message only to the current user.
Deliver the message only to the current user.
- Attributes
 - protected
 - Definition Classes
 - AtmosphereClientFilters
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        Others: ClientFilter
      
      
      
- Attributes
 - protected
 - Definition Classes
 - AtmosphereClientFilters
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        SkipSelf: ClientFilter
      
      
      
Deliver the message to everyone except the current user.
Deliver the message to everyone except the current user.
- Attributes
 - protected
 - Definition Classes
 - AtmosphereClientFilters
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        broadcast(msg: OutboundMessage, to: ClientFilter = Others)(implicit executionContext: ExecutionContext): Future[OutboundMessage]
      
      
      
Broadcast a message to all clients, skipping the current client by default (i.e.
Broadcast a message to all clients, skipping the current client by default (i.e. normal chat server behaviour). Optionally filter the clients to deliver the message to by applying a filter.
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 -  def receiveWithScalatraContext(scalatraContext: ScalatraContext): AtmoReceive
 -  implicit def request: HttpServletRequest
 - 
      
      
      
        
      
    
      
        
        def
      
      
        requestUri: String
      
      
      
- Attributes
 - protected
 
 -  implicit def response: HttpServletResponse
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        send(msg: OutboundMessage)(implicit executionContext: ExecutionContext): Future[OutboundMessage]
      
      
      
A convenience method which sends a message only to the current client, using a broadcast filter.
A convenience method which sends a message only to the current client, using a broadcast filter. This is the same as calling
broadcast(message, to = Me) -  def servletContext: ServletContext
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        uuid: String
      
      
      
A unique identifier for a given connection.
A unique identifier for a given connection. Can be used for filtering purposes.
- Definition Classes
 - AtmosphereClient → AtmosphereClientFilters
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )