The Bind message is send to the WAMP manager actor, which is obtained via WampExtension#manager in order to bind to a listening socket.
The Bind message is send to the WAMP manager actor, which is obtained via WampExtension#manager in order to bind to a listening socket. The manager replies either with a CommandFailed or the actor handling the listen socket replies with a Bound message. If the local port is set to 0 in the Bind message, then the Bound message should be inspected to find the actual port which was bound to.
is the actor which will receive all incoming connection requests in the form of Connected messages
The sender of a Bind command will — in case of success — receive confirmation in this form.
The sender of a Bind command will — in case of success — receive confirmation
in this form. If the bind address indicated a 0 port number, then the contained
localAddress
can be used to find out which port was automatically assigned.
This is the common trait for all commands understood by TCP actors.
The Connect message is sent to the WAMP manager actor, which is obtained via WampExtension#manager.
The Connect message is sent to the WAMP manager actor, which is obtained via WampExtension#manager. Either the manager replies with a CommandFailed or the actor handling the new connection replies with a Connected message.
is the client actor reference
is the URI to connect to (e.g. "ws://somehost.com:9999/path/to/ws")
is the WebSocket subprotocol to negotiate (e.g. "wamp.2.msgpack" or "wamp.2.json")
The connection actor sends this message either to the sender of a Connect command (for outbound) or to the handler for incoming connections designated in the Bind message.
Common interface for all signals generated by the Wammp layer actors.
In order to close down a listening socket, send this message to that socket’s actor (that is the actor which previously had sent the Bound message).
In order to close down a listening socket, send this message to that socket’s actor (that is the actor which previously had sent the Bound message). The listener socket actor will reply with a Unbound message.
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.
Returns the canonical ExtensionId for this Extension
Returns the canonical ExtensionId for this Extension
WAMP Extension for Akka’s IO layer.
For a full description of the design and philosophy behind this IO implementation please refer to the Akka online documentation.
In order to open an outbound connection send a Wamp.Connect message to the WampExtension#manager.
In order to start listening for inbound connections send a Wamp.Bind message to the WampExtension#manager.