lib/onstomp/connections/stomp_1.rb in onstomp-1.0.0pre1 vs lib/onstomp/connections/stomp_1.rb in onstomp-1.0.0
- old
+ new
@@ -36,15 +36,9 @@
# @return [OnStomp::Components::Frame] DISCONNECT frame
def disconnect_frame h
create_frame 'DISCONNECT', [h]
end
- # Creates a SUBSCRIBE frame
- # @return [OnStomp::Components::Frame] SUBSCRIBE frame
- def subscribe_frame d, h
- create_frame 'SUBSCRIBE', [{:id => OnStomp.next_serial}, h, {:destination => d}]
- end
-
# Creates an UNSUBSCRIBE frame
# @return [OnStomp::Components::Frame] UNSUBSCRIBE frame
def unsubscribe_frame f, h
id = f.is_a?(OnStomp::Components::Frame) ? f[:id] : f
create_frame('UNSUBSCRIBE', [{:id => id}, h]).tap do |f|