public class StompServerConnection extends Object
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description | 
|---|---|
| static io.vertx.lang.rx.TypeArg<StompServerConnection> | __TYPE_ARG | 
| Constructor and Description | 
|---|
| StompServerConnection(Object delegate) | 
| StompServerConnection(StompServerConnection delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Closes the connection with the client. | 
| void | configureHeartbeat(long ping,
                  long pong,
                  Handler<StompServerConnection> pingHandler)Configures the heartbeat. | 
| boolean | equals(Object o) | 
| StompServerConnection | getDelegate() | 
| StompServerHandler | handler() | 
| int | hashCode() | 
| static StompServerConnection | newInstance(StompServerConnection arg) | 
| void | onServerActivity()Notifies the connection about server activity (the server has sent a frame). | 
| void | ping()Sends a `PING` frame to the client. | 
| StompServer | server() | 
| String | session() | 
| SSLSession | sslSession() | 
| String | toString() | 
| StompServerConnection | write(Buffer buffer)Writes the given buffer to the socket. | 
| StompServerConnection | write(Frame frame)Writes the given frame to the socket. | 
public static final io.vertx.lang.rx.TypeArg<StompServerConnection> __TYPE_ARG
public StompServerConnection(StompServerConnection delegate)
public StompServerConnection(Object delegate)
public StompServerConnection getDelegate()
public StompServerConnection write(Frame frame)
frame - the frame, must not be null.StompServerConnectionpublic StompServerConnection write(Buffer buffer)
buffer - the bufferStompServerConnectionpublic StompServer server()
public StompServerHandler handler()
public String session()
public void close()
public void ping()
EOL.public void onServerActivity()
public void configureHeartbeat(long ping,
                               long pong,
                               Handler<StompServerConnection> pingHandler)
ping - ping timepong - pong timepingHandler - the ping handlerpublic SSLSession sslSession()
public static StompServerConnection newInstance(StompServerConnection arg)
Copyright © 2024 Eclipse. All rights reserved.