open fun disconnect(): StompClientConnection
Disconnects the client. Unlike the io.vertx.reactivex.ext.stomp.StompClientConnection#close method, this method send the DISCONNECT frame to the server.
Return
the current io.vertx.reactivex.ext.stomp.StompClientConnection
open fun disconnect(receiptHandler: Handler<Frame>): StompClientConnection
Disconnects the client. Unlike the io.vertx.reactivex.ext.stomp.StompClientConnection#close method, this method send the DISCONNECT frame to the server.
receiptHandler - the handler invoked when the RECEIPT frame associated with the disconnection has been processed by the server. The handler receives the sent frame (DISCONNECT).
Return
the current io.vertx.reactivex.ext.stomp.StompClientConnection
open fun disconnect(frame: Frame): StompClientConnection
Disconnects the client. Unlike the io.vertx.reactivex.ext.stomp.StompClientConnection#close method, this method send the DISCONNECT frame to the server. This method lets you customize the DISCONNECT frame.
Return
the current io.vertx.reactivex.ext.stomp.StompClientConnection
open fun disconnect(frame: Frame, receiptHandler: Handler<Frame>): StompClientConnection
Disconnects the client. Unlike the io.vertx.reactivex.ext.stomp.StompClientConnection#close method, this method send the DISCONNECT frame to the server. This method lets you customize the DISCONNECT frame.
receiptHandler - the handler invoked when the RECEIPT frame associated with the disconnection has been processed by the server. The handler receives the sent frame (DISCONNECT).
Return
the current io.vertx.reactivex.ext.stomp.StompClientConnection