lib/submodules/ably-ruby/lib/ably/realtime/connection/websocket_transport.rb in ably-rest-1.2.2 vs lib/submodules/ably-ruby/lib/ably/realtime/connection/websocket_transport.rb in ably-rest-1.2.3
- old
+ new
@@ -29,11 +29,13 @@
setup_event_handlers
end
# Disconnect the socket transport connection and write all pending text.
# If Disconnected state is not automatically emitted, it will be emitted automatically
+ #
# @return [void]
+ #
# @api public
def disconnect
close_connection_after_writing
change_state STATE.Disconnecting
create_timer(2) do
@@ -131,18 +133,18 @@
# i.e. it is not currently connecting or connected
def ready_for_release?
!connecting? && !connected?
end
- # @!attribute [r] __incoming_protocol_msgbus__
# @return [Ably::Util::PubSub] Websocket Transport internal incoming protocol message bus
+ #
# @api private
def __incoming_protocol_msgbus__
@__incoming_protocol_msgbus__ ||= create_pub_sub_message_bus
end
- # @!attribute [r] __outgoing_protocol_msgbus__
# @return [Ably::Util::PubSub] Websocket Transport internal outgoing protocol message bus
+ #
# @api private
def __outgoing_protocol_msgbus__
@__outgoing_protocol_msgbus__ ||= create_pub_sub_message_bus
end