vertx-lang-scala-docs_2.12 3.4.1 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package ext
  Definition Classes
    scala
-  package stomp
  Definition Classes
    ext
- Acknowledgement
- BridgeOptions
- Destination
- DestinationFactory
- Frame
- Frames
- ServerFrame
- StompClient
- StompClientConnection
- StompClientOptions
- StompServer
- StompServerConnection
- StompServerHandler
- StompServerOptions

c

io.vertx.scala.ext.stomp

# StompServerConnection 

###
Companion object StompServerConnection

#### class StompServerConnection extends AnyRef

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.

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. StompServerConnection
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new StompServerConnection(_asJava: AnyRef)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def asJava: AnyRef
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )
7.  def close(): Unit

   Closes the connection with the client.

8.  def configureHeartbeat(ping: Long, pong: Long, pingHandler: Handler[StompServerConnection]): Unit

   Configures the heartbeat.

   Configures the heartbeat.

   ping

     ping time

   pong

     pong time

   pingHandler

     the ping handler

9.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
10.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
11.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
12.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
13.  def handler(): StompServerHandler

    returns

      the STOMP server handler dealing with this connection

14.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
15.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
16.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
17.  final def notify(): Unit
    Definition Classes
      AnyRef
18.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
19.  def onServerActivity(): Unit

    Notifies the connection about server activity (the server has sent a frame).

    Notifies the connection about server activity (the server has sent a frame). This method is used to handle the heartbeat.

20.  def ping(): Unit

    Sends a `PING` frame to the client.

    Sends a `PING` frame to the client. A `PING` frame is a frame containing only `EOL`.

21.  def server(): StompServer

    returns

      the STOMP server serving this connection.

22.  def session(): String

    returns

      the STOMP session id computed when the client has established the connection to the server

23.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
24.  def toString(): String
    Definition Classes
      AnyRef → Any
25.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
26.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
27.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
28.  def write(buffer: Buffer): StompServerConnection

    Writes the given buffer to the socket.

    Writes the given buffer to the socket. This is a low level API that should be used carefully.

    buffer

      the buffer

    returns

      the current StompServerConnection

29.  def write(frame: Frame): StompServerConnection

    Writes the given frame to the socket.

    Writes the given frame to the socket.

    frame

      the frame, must not be `null`.see Frame

    returns

      the current StompServerConnection

### Inherited from AnyRef

### Inherited from Any

### Ungrouped