Call a procedure
Call a procedure
is the procedure to call
is the arguments list of arbitrary types to supply
is the arguments dictionary of arbitrary types to supply
the (future of) result
Call a procedure
Call a procedure
is the procedure to call
is the arguments dictionary of arbitrary types to supply
the (future of) result
Call a procedure
Call a procedure
is the procedure to call
is the arguments list of arbitrary types to supply
the (future of) result
Call a procedure
Call a procedure
is the procedure to call
the (future of) result
Close this session with the given reason and detail.
Close this session with the given reason and detail.
The client sends a GOODBYE message to the router which will in turn replies with a GOODBYE message.
,------. ,------. |Client| |Router| `--+---' `--+---' | GOODBYE | | ----------------> | | | GOODBYE | | <---------------- ,--+---. ,--+---. |Client| |Router| `------' `------'
is the reason to close (default is
)wamp.error.close_realm
are the details to send (default is empty)
the (future of) connection
is the WAMP connection
This session details
This session identifier
If this session is closed
If this session is closed
true or false
Publish to a topic
Publish to a topic
is the topic to publish to
is the acknowledge boolean switch
is the data list of arbitrary types to supply
is the data list of arbitrary types to supply
(a future of) either done or publication
Publish to a topic
Publish to a topic
is the topic to publish to
is the acknowledge boolean switch
is the data list of arbitrary types to supply
(a future of) either done or publication
Publish to a topic
Publish to a topic
is the topic to publish to
is the acknowledge boolean switch
is the data list of arbitrary types to supply
(a future of) either done or publication
Publish to a topic
Publish to a topic
is the topic to publish to
is the acknowledge boolean switch
(a future of) either done or publication
Publish to a topic
Publish to a topic
is the topic to publish to
(a future of) either done or publication
Register the given procedure URI so that the given
implementation will be dinamically invoked (via the experimental Scala 2.11
reflection capabilities) on INVOCATION from router.scala.Function
Register the given procedure URI so that the given
implementation will be dinamically invoked (via the experimental Scala 2.11
reflection capabilities) on INVOCATION from router.
scala.Function
it must be any of the
typesscala.Function
is the procedure URI the callee wants to register
is a partially applied function
the (future of) registration
Register the given procedure URI so that the given invocation handler will be executed on INVOCATION from router.
Register the given procedure URI so that the given invocation handler will be executed on INVOCATION from router.
A callee announces the availability of an endpoint implementing a procedure with a dealer by sending a REGISTER message:
,------. ,------. ,------. |Caller| |Dealer| |Callee| `--+---' `--+---' `--+---' | | | | | | | | REGISTER | | | <--------------------- | | | | | REGISTERED or ERROR | | | ---------------------> | | | | | | | | | | | | | | | | | UNREGISTER | | | <--------------------- | | | | | UNREGISTERED or ERROR| | | ---------------------> ,--+---. ,--+---. ,--+---. |Caller| |Dealer| |Callee| `------' `------' `------'
is the procedure URI the callee wants to register
is the handler executed on invocations
the (future of) registration
Schedules a task to be run repeatedly with an initial delay and a frequency.
The Akka ActorSystem scheduler
The Akka ActorSystem scheduler
Subscribe to the given topic so that the given handler will be executed on events.
Subscribe to the given topic so that the given handler will be executed on events.
,---------. ,------. ,----------. |Publisher| |Broker| |Subscriber| `----+----' `--+---' `----+-----' | | | | | | | | SUBSCRIBE | | | <--------------------- | | | | | SUBSCRIBED or ERROR | | | ---------------------> | | | | | | | | | | | | | | UNSUBSCRIBE | | | <--------------------- | | | | | UNSUBSCRIBED or ERROR| | | ---------------------> ,----+----. ,--+---. ,----+-----. |Publisher| |Broker| |Subscriber| `---------' `------' `----------'
is the topic the subscriber wants to subscribe to
is the handler executed on events
the (future of) subscription
Publish a tick count to a topic with an initial delay and frequency.
Publish a tick count to a topic with an initial delay and frequency.
E.g. if you would like a message to be sent immediately and thereafter every 500ms you would set delay=Duration.Zero and interval=Duration(500, TimeUnit.MILLISECONDS)
is the topic to publish the tick count to
is the interval between two ticks
is the initial delay
Unregister from the given topic
Unregister from the given topic
is the procedure to unregister
a (future of) unregistered
Unsubscribe from the given topic
Unsubscribe from the given topic
is the topic to unsubscribe from
a (future of) unsubscribed
is WAMP types validator
WAMP sessions are established over a WAMP connection.
A session is joined to a realm on a router. Routing occurs only between WAMP sessions that have joined the same realm.
Once got a session, it allows to publish/subscribe events and register/call procedures.