class
NonWebSocketSession extends Actor
Instance Constructors
-
new
NonWebSocketSession(receiverClient: ActorRef, pathPrefix: String, action: Action)
Type Members
-
type
Receive = PartialFunction[Any, Unit]
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
implicit
val
context: ActorContext
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
postRestart(reason: Throwable): Unit
-
def
postStop(): Unit
-
def
preRestart(reason: Throwable, message: Option[Any]): Unit
-
def
preStart(): Unit
-
def
receive: PartialFunction[Any, Unit]
-
var
receiverClient: ActorRef
-
implicit final
val
self: ActorRef
-
final
def
sender: ActorRef
-
def
supervisorStrategy: SupervisorStrategy
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
unhandled(message: Any): Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Actor
Inherited from AnyRef
Inherited from Any
There should be at most one subscriber: http://sockjs.github.com/sockjs-protocol/sockjs-protocol-0.3.3.html
To avoid out of memory, the actor is stopped when there's no subscriber for a long time. Timeout is also used to check if there's no message for subscriber for a long time. See TIMEOUT_CONNECTION and TIMEOUT_HEARTBEAT in NonWebSocketSessions.