package stomp
- Alphabetic
- Public
- All
Type Members
-
class
Acknowledgement
extends AnyRef
Structure passed to acknowledgement handler called when a
ACK
orNACK
frame is received.Structure passed to acknowledgement handler called when a
ACK
orNACK
frame is received. The handler receives an instance of io.vertx.scala.ext.stomp.Acknowledgement with the subscription Frame and the impacted messages. The list of messages depends on the type of acknowledgment used by the subscription.Subscriptions using the
client
mode receives all messages that were waiting for acknowledgment that were sent before the acknowledged messages. The list also contains the acknowledged message. This is a cumulative acknowledgement. Subscriptions using theclient-individual
mode receives a singleton list containing only the acknowledged message. -
class
BridgeOptions
extends bridge.BridgeOptions
Specify the event bus bridge options.
-
class
Destination
extends AnyRef
Represents a STOMP destination.
Represents a STOMP destination. Depending on the implementation, the message delivery is different. Queue are sending message to only one subscribers, while topics are broadcasting the message to all subscribers.
Implementations must be thread-safe.
-
class
DestinationFactory
extends AnyRef
Interface implemented to customize the destination creation.
-
class
Frame
extends AnyRef
Represents a STOMP frame.
Represents a STOMP frame. STOMP frames are structured as follows. It starts by a
command
, followed by a set of headers. Then the frame may have a body and is finished by a0
byte. This class represents this structure and provide access to the different parts.This class is NOT thread-safe.
-
class
Frames
extends AnyRef
Utility methods to build common Frames.
Utility methods to build common Frames. It defines a non-STOMP frame (
PING
) that is used for heartbeats. When such frame is written on the wire it is just the0
byte.This class is thread-safe.
-
class
ServerFrame
extends AnyRef
Structure passed to server handler when receiving a frame.
Structure passed to server handler when receiving a frame. It provides a reference on the received Frame but also on the io.vertx.scala.ext.stomp.StompServerConnection.
-
class
StompClient
extends AnyRef
Defines a STOMP client.
-
class
StompClientConnection
extends AnyRef
Once a connection to the STOMP server has been made, client receives a io.vertx.scala.ext.stomp.StompClientConnection, that let send and receive STOMP frames.
-
class
StompClientOptions
extends NetClientOptions
Options used to configure a STOMP client.
Options used to configure a STOMP client. As a STOMP client wraps a Net client, you can also configure the underlying NET client.
-
class
StompServer
extends AnyRef
Defines a STOMP server.
Defines a STOMP server. STOMP servers delegates to a io.vertx.scala.ext.stomp.StompServerHandler that let customize the behavior of the server. By default, it uses a handler compliant with the STOMP specification, but let you change anything.
-
class
StompServerConnection
extends AnyRef
Class representing a connection between a STOMP client a the server.
Class representing a connection between a STOMP client a the server. It keeps a references on the client socket, so let write to this socket.
-
class
StompServerHandler
extends Handler[ServerFrame]
STOMP server handler implements the behavior of the STOMP server when a specific event occurs.
STOMP server handler implements the behavior of the STOMP server when a specific event occurs. For instance, if let customize the behavior when specific STOMP frames arrives or when a connection is closed. This class has been designed to let you customize the server behavior. The default implementation is compliant with the STOMP specification. In this default implementation, not acknowledge frames are dropped.
-
class
StompServerOptions
extends NetServerOptions
STOMP Server options.
STOMP Server options. You can also configure the Net Server used by the STOMP server from these options.
Value Members
- object Acknowledgement
- object BridgeOptions
- object Destination
- object DestinationFactory
- object Frame
- object Frames
- object ServerFrame
- object StompClient
- object StompClientConnection
- object StompClientOptions
- object StompServer
- object StompServerConnection
- object StompServerHandler
- object StompServerOptions