# OnStomp Generated Method APIs ## OnStomp 1 API (1.0.0+)
Method | Signature | STOMP 1.0 | STOMP 1.1 |
---|---|---|---|
{OnStomp::Interfaces::ClientEvents#:begin :begin} |
:begin
|
true | true |
{OnStomp::Interfaces::ClientEvents#abort abort} |
abort
|
true | true |
{OnStomp::Interfaces::FrameMethods#abort abort} |
abort(tx_id, headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::ClientEvents#ack ack} |
ack
|
true | true |
{OnStomp::Interfaces::FrameMethods#ack ack} |
ack(message_frame, headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::FrameMethods#ack ack} |
ack(message_id, subscription_id, headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::FrameMethods#ack ack} |
ack(message_id, headers=<optional hash>)
|
true | false |
{OnStomp::Interfaces::ClientEvents#after_receiving after_receiving} |
create_event_methods :receiving, :before, :after
|
true | true |
{OnStomp::Interfaces::ClientEvents#after_transmitting after_transmitting} |
create_event_methods :transmitting, :before, :after
|
true | true |
{OnStomp::Interfaces::FrameMethods#beat beat} |
beat( )
|
false | true |
{OnStomp::Interfaces::ClientEvents#before_abort before_abort} |
create_event_methods :abort, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_ack before_ack} |
create_event_methods :ack, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_begin before_begin} |
create_event_methods :begin, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_broker_beat before_broker_beat} |
create_event_methods :broker_beat, :before, :on
|
false | true |
{OnStomp::Interfaces::ClientEvents#before_client_beat before_client_beat} |
create_event_methods :client_beat, :before, :on
|
false | true |
{OnStomp::Interfaces::ClientEvents#before_commit before_commit} |
create_event_methods :commit, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_disconnect before_disconnect} |
create_event_methods :disconnect, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_error before_error} |
create_event_methods :error, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_message before_message} |
create_event_methods :message, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_nack before_nack} |
create_event_methods :nack, :before, :on
|
false | true |
{OnStomp::Interfaces::ClientEvents#before_receipt before_receipt} |
create_event_methods :receipt, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_receiving before_receiving} |
create_event_methods :receiving, :before, :after
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_send before_send} |
create_event_methods :send, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_subscribe before_subscribe} |
create_event_methods :subscribe, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_transmitting before_transmitting} |
create_event_methods :transmitting, :before, :after
|
true | true |
{OnStomp::Interfaces::ClientEvents#before_unsubscribe before_unsubscribe} |
create_event_methods :unsubscribe, :before, :on
|
true | true |
{OnStomp::Interfaces::FrameMethods#begin begin} |
begin(tx_id, headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::ConnectionEvents#blocked blocked} |
blocked
|
true | true |
{OnStomp::Interfaces::ClientEvents#broker_beat broker_beat} |
broker_beat
|
false | true |
{OnStomp::Interfaces::ClientEvents#client_beat client_beat} |
client_beat
|
false | true |
{OnStomp::Client#close! close!} |
close!( )
|
true | true |
{OnStomp::Interfaces::ConnectionEvents#closed closed} |
closed
|
true | true |
{OnStomp::Interfaces::ClientEvents#commit commit} |
commit
|
true | true |
{OnStomp::Interfaces::FrameMethods#commit commit} |
commit(tx_id, headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::ClientEvents#connect connect} |
connect
|
true | true |
{OnStomp::Client#connect connect} |
connect(headers=<optional hash>)
|
true | true |
{OnStomp::Client#connected? connected?} |
connected?( )
|
true | true |
{OnStomp::Interfaces::ConnectionEvents#died died} |
died
|
false | true |
{OnStomp::Interfaces::ClientEvents#disconnect disconnect} |
disconnect
|
true | true |
{OnStomp::Client#disconnect disconnect} |
disconnect_with_flush(headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::FrameMethods#disconnect disconnect} |
disconnect(headers=<optional hash>)
|
true | true |
{OnStomp::Client#disconnect_with_flush disconnect_with_flush} |
disconnect_with_flush(headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::ClientEvents#error error} |
error
|
true | true |
{OnStomp::Interfaces::ConnectionEvents#established established} |
established
|
true | true |
{OnStomp::Client#initialize initialize} |
initialize(uri, options=<optional hash>)
|
true | true |
{OnStomp::Interfaces::ClientEvents#message message} |
message
|
true | true |
{OnStomp::Interfaces::FrameMethods#nack nack} |
nack(message_frame, headers=<optional hash>)
|
false | true |
{OnStomp::Interfaces::ClientEvents#nack nack} |
nack
|
false | true |
{OnStomp::Interfaces::FrameMethods#nack nack} |
nack(message_id, subscription_id, heders=<optional hash>)
|
false | true |
{OnStomp::Interfaces::ClientEvents#on_abort on_abort} |
create_event_methods :abort, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_ack on_ack} |
create_event_methods :ack, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_begin on_begin} |
create_event_methods :begin, :before, :on
|
true | true |
{OnStomp::Interfaces::ConnectionEvents#on_blocked on_blocked} |
create_event_methods :blocked, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_broker_beat on_broker_beat} |
create_event_methods :broker_beat, :before, :on
|
false | true |
{OnStomp::Interfaces::ClientEvents#on_client_beat on_client_beat} |
create_event_methods :client_beat, :before, :on
|
false | true |
{OnStomp::Interfaces::ConnectionEvents#on_closed on_closed} |
create_event_methods :closed, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_commit on_commit} |
create_event_methods :commit, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_connect on_connect} |
create_event_methods :connect, :on
|
true | true |
{OnStomp::Interfaces::ConnectionEvents#on_died on_died} |
create_event_methods :died, :on
|
false | true |
{OnStomp::Interfaces::ClientEvents#on_disconnect on_disconnect} |
create_event_methods :disconnect, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_error on_error} |
create_event_methods :error, :before, :on
|
true | true |
{OnStomp::Interfaces::ConnectionEvents#on_established on_established} |
create_event_methods :established, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_message on_message} |
create_event_methods :message, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_nack on_nack} |
create_event_methods :nack, :before, :on
|
false | true |
{OnStomp::Interfaces::ClientEvents#on_receipt on_receipt} |
create_event_methods :receipt, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_send on_send} |
create_event_methods :send, :before, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_subscribe on_subscribe} |
create_event_methods :subscribe, :before, :on
|
true | true |
{OnStomp::Interfaces::ConnectionEvents#on_terminated on_terminated} |
create_event_methods :terminated, :on
|
true | true |
{OnStomp::Interfaces::ClientEvents#on_unsubscribe on_unsubscribe} |
create_event_methods :unsubscribe, :before, :on
|
true | true |
{OnStomp::Client#open open} |
connect(headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::FrameMethods#puts puts} |
send(dest, body, headers=<optional hash>, &cb)
|
true | true |
{OnStomp::Interfaces::ClientEvents#receipt receipt} |
receipt
|
true | true |
{OnStomp::Interfaces::ClientEvents#receiving receiving} |
receiving
|
true | true |
{OnStomp::Interfaces::FrameMethods#send send} |
send(dest, body, headers=<optional hash>, &cb)
|
true | true |
{OnStomp::Interfaces::ClientEvents#send send} |
send
|
true | true |
{OnStomp::Interfaces::ClientEvents#subscribe subscribe} |
subscribe
|
true | true |
{OnStomp::Interfaces::FrameMethods#subscribe subscribe} |
subscribe(dest, headers=<optional hash>, &cb)
|
true | true |
{OnStomp::Interfaces::ConnectionEvents#terminated terminated} |
terminated
|
true | true |
{OnStomp::Interfaces::ClientEvents#transmitting transmitting} |
transmitting
|
true | true |
{OnStomp::Interfaces::FrameMethods#unsubscribe unsubscribe} |
unsubscribe(subscribe_frame, headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::FrameMethods#unsubscribe unsubscribe} |
unsubscribe(id, headers=<optional hash>)
|
true | true |
{OnStomp::Interfaces::ClientEvents#unsubscribe unsubscribe} |
unsubscribe
|
true | true |