Class: Funicular::Cable::Subscription
- Inherits:
-
Object
- Object
- Funicular::Cable::Subscription
- Defined in:
- sig/cable.rbs
Instance Attribute Summary collapse
-
#consumer ⇒ Consumer
readonly
Returns the value of attribute consumer.
-
#identifier ⇒ String
readonly
Returns the value of attribute identifier.
-
#params ⇒ Hash[Symbol, untyped]
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize ⇒ Subscription
constructor
A new instance of Subscription.
- #notify_connected ⇒ void
- #notify_received ⇒ void
- #notify_rejected ⇒ void
- #on_connected { ... } ⇒ void
- #on_disconnected { ... } ⇒ void
- #on_rejected { ... } ⇒ void
- #perform ⇒ void
- #subscribe ⇒ void
- #unsubscribe ⇒ void
Constructor Details
#initialize ⇒ Subscription
Returns a new instance of Subscription.
52 |
# File 'sig/cable.rbs', line 52
def initialize: (Consumer consumer, String identifier, Hash[Symbol, untyped] params) ?{ (untyped message) -> void } -> void
|
Instance Attribute Details
#consumer ⇒ Consumer (readonly)
Returns the value of attribute consumer.
48 49 50 |
# File 'sig/cable.rbs', line 48 def consumer @consumer end |
#identifier ⇒ String (readonly)
Returns the value of attribute identifier.
49 50 51 |
# File 'sig/cable.rbs', line 49 def identifier @identifier end |
#params ⇒ Hash[Symbol, untyped] (readonly)
Returns the value of attribute params.
50 51 52 |
# File 'sig/cable.rbs', line 50 def params @params end |
Instance Method Details
#notify_connected ⇒ void
This method returns an undefined value.
59 |
# File 'sig/cable.rbs', line 59
def notify_connected: () -> void
|
#notify_received ⇒ void
This method returns an undefined value.
61 |
# File 'sig/cable.rbs', line 61
def notify_received: (untyped message) -> void
|
#notify_rejected ⇒ void
This method returns an undefined value.
60 |
# File 'sig/cable.rbs', line 60
def notify_rejected: () -> void
|
#on_connected { ... } ⇒ void
This method returns an undefined value.
56 |
# File 'sig/cable.rbs', line 56
def on_connected: () { () -> void } -> void
|
#on_disconnected { ... } ⇒ void
This method returns an undefined value.
57 |
# File 'sig/cable.rbs', line 57
def on_disconnected: () { () -> void } -> void
|
#on_rejected { ... } ⇒ void
This method returns an undefined value.
58 |
# File 'sig/cable.rbs', line 58
def on_rejected: () { () -> void } -> void
|
#perform ⇒ void
This method returns an undefined value.
55 |
# File 'sig/cable.rbs', line 55
def perform: (String action, ?Hash[Symbol, untyped] data) -> void
|
#subscribe ⇒ void
This method returns an undefined value.
53 |
# File 'sig/cable.rbs', line 53
def subscribe: () -> void
|
#unsubscribe ⇒ void
This method returns an undefined value.
54 |
# File 'sig/cable.rbs', line 54
def unsubscribe: () -> void
|