object Wamp extends ExtensionId[WampExt] with ExtensionIdProvider
Is the extension driver for Akka IO layer
For a full description of the design and philosophy behind this implementation please refer to the Akka online documentation.
Connect
(For clients) In order to open an outbound connection send a messages.Connect to the IO manager.
import akka.io._ import akka.wamp._ import akka.wamp.messages._ val manager = IO(Wamp) manager ! Connect("wss://host:9999/router", "json") def receive = { case Connected(handler) => }
Bind
(For routers) In order to start listening for inbound connections send a messages.Bind to the IO manager.
import akka.io._ import akka.wamp._ import akka.wamp.router._ import akka.wamp.messages._ val router = Router.props() val manager = IO(Wamp) manager ! Bind(router) def receive = { case Bound(listener, port) => }
- Alphabetic
- By Inheritance
- Wamp
- ExtensionIdProvider
- ExtensionId
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
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
-
def
apply(system: ActorSystem): WampExt
- Definition Classes
- ExtensionId
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createExtension(system: ExtendedActorSystem): WampExt
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
- Definition Classes
- Wamp → ExtensionId
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
equals(other: Any): Boolean
- Definition Classes
- ExtensionId → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(system: ActorSystem): WampExt
Returns an instance of the extension identified by this ExtensionId instance.
Returns an instance of the extension identified by this ExtensionId instance.
Java API: For extensions written in Scala that are to be used used from Java also, this method should be overridden to get correct return type.
- Definition Classes
- Wamp → ExtensionId
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
hashCode(): Int
- Definition Classes
- ExtensionId → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lookup(): ExtensionId[_ <: Extension]
Returns the canonical ExtensionId for this Extension
Returns the canonical ExtensionId for this Extension
- Definition Classes
- Wamp → ExtensionIdProvider
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )