@Deprecated
public abstract class LegacyWebSocket<A>
extends java.lang.Object
Constructor and Description |
---|
LegacyWebSocket()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
akka.actor.Props |
actorProps(akka.actor.ActorRef out)
Deprecated.
The props to create the actor to handle this WebSocket.
|
boolean |
isActor()
Deprecated.
If this method returns true, then the WebSocket should be handled by an actor.
|
abstract void |
onReady(WebSocket.In<A> in,
WebSocket.Out<A> out)
Deprecated.
Called when the WebSocket is ready
|
Result |
rejectWith()
Deprecated.
If this method returns a result, the WebSocket will be rejected with that result.
|
public abstract void onReady(WebSocket.In<A> in, WebSocket.Out<A> out)
in
- The Socket in.out
- The Socket out.public Result rejectWith()
public boolean isActor()
public akka.actor.Props actorProps(akka.actor.ActorRef out)
out
- The actor to send upstream messages to.