class Destination extends AnyRef
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.
- Alphabetic
- By Inheritance
- Destination
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-  new Destination(_asJava: AnyRef)
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
      
      
        ack(connection: StompServerConnection, frame: Frame): Boolean
      
      
      Handles a ACKframe.Handles a ACKframe. * @param connection the connection- frame
- the - ACKframe see Frame
- returns
- trueif the destination has handled the frame (meaning it has sent the message with id)
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
-  def asJava: AnyRef
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        destination(): String
      
      
      - returns
- the destination address. 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        dispatch(connection: StompServerConnection, frame: Frame): Destination
      
      
      Dispatches the given frame. Dispatches the given frame. * @param connection the connection - frame
- the frame see Frame 
- returns
- the current instance of Destination 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        getSubscriptions(connection: StompServerConnection): Buffer[String]
      
      
      Gets all subscription ids for the given destination hold by the given client * @param connection the connection (client) Gets all subscription ids for the given destination hold by the given client * @param connection the connection (client) - returns
- the list of subscription id, empty if none 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        matches(address: String): Boolean
      
      
      Checks whether or not the given address matches with the current destination. Checks whether or not the given address matches with the current destination. * @param address the address - returns
- trueif it matches,- falseotherwise.
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        nack(connection: StompServerConnection, frame: Frame): Boolean
      
      
      Handles a NACKframe.Handles a NACKframe. * @param connection the connection- frame
- the - NACKframe see Frame
- returns
- trueif the destination has handled the frame (meaning it has sent the message with id)
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        numberOfSubscriptions(): Int
      
      
      Gets the number of subscriptions attached to the current io.vertx.scala.ext.stomp.Destination. Gets the number of subscriptions attached to the current io.vertx.scala.ext.stomp.Destination. * @return the number of subscriptions. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        subscribe(connection: StompServerConnection, frame: Frame): Destination
      
      
      Handles a subscription request to the current io.vertx.scala.ext.stomp.Destination. Handles a subscription request to the current io.vertx.scala.ext.stomp.Destination. * @param connection the connection - frame
- the - SUBSCRIBEframe see Frame
- returns
- the current instance of Destination 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        unsubscribe(connection: StompServerConnection, frame: Frame): Boolean
      
      
      Handles a un-subscription request to the current io.vertx.scala.ext.stomp.Destination. Handles a un-subscription request to the current io.vertx.scala.ext.stomp.Destination. * @param connection the connection - frame
- the - UNSUBSCRIBEframe see Frame
- returns
- trueif the un-subscription has been handled,- falseotherwise.
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        unsubscribeConnection(connection: StompServerConnection): Destination
      
      
      Removes all subscriptions of the given connection * @param connection the connection Removes all subscriptions of the given connection * @param connection the connection - returns
- the current instance of Destination 
 
- 
      
      
      
        
      
    
      
        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
- @native() @throws( ... )