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.
package |
Default |
---|
__construct()
close() : void
configureHeartbeat( $arg0, $arg1, $arg2) : void
integer
integer
callable
handler() : \io\vertx\jphp\ext\stomp\StompServerHandler
\io\vertx\jphp\ext\stomp\StompServerHandler
the STOMP server handler dealing with this connection
onServerActivity() : void
ping() : void
server() : \io\vertx\jphp\ext\stomp\StompServer
session() : string
string
the STOMP session id computed when the client has established the connection to the server
write( $arg0) : $this
param $frame [Frame | array] the frame, must not be {@code null}. write($frame)
Writes the given buffer to the socket. This is a low level API that should be used carefully.
param $buffer [Buffer] the buffer write($buffer)
Buffer | Frame | array
$this
the current {@link StompServerConnection}