Package io.vertx.mutiny.ext.stomp
Class StompServerConnection
java.lang.Object
io.vertx.mutiny.ext.stomp.StompServerConnection
- All Implemented Interfaces:
MutinyDelegate
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.
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStompServerConnection
(io.vertx.ext.stomp.StompServerConnection delegate) StompServerConnection
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
configureHeartbeat
(long ping, long pong, Consumer<StompServerConnection> pingHandler) boolean
io.vertx.ext.stomp.StompServerConnection
handler()
int
hashCode()
static StompServerConnection
newInstance
(io.vertx.ext.stomp.StompServerConnection arg) void
void
ping()
server()
session()
toString()
write
(io.vertx.ext.stomp.Frame frame)
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
StompServerConnection
public StompServerConnection(io.vertx.ext.stomp.StompServerConnection delegate) -
StompServerConnection
-
-
Method Details
-
getDelegate
public io.vertx.ext.stomp.StompServerConnection getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
write
- Parameters:
frame
- the frame, must not benull
.- Returns:
- the current
StompServerConnection
-
write
- Parameters:
buffer
- the buffer- Returns:
- the current
StompServerConnection
-
server
- Returns:
- the STOMP server serving this connection.
-
handler
- Returns:
- the STOMP server handler dealing with this connection
-
session
- Returns:
- the STOMP session id computed when the client has established the connection to the server
-
close
public void close() -
ping
public void ping() -
onServerActivity
public void onServerActivity() -
configureHeartbeat
- Parameters:
ping
- ping timepong
- pong timepingHandler
- the ping handler
-
sslSession
- Returns:
- SSLSession associated with the underlying socket. Returns null if connection is not SSL.
-
newInstance
-