Class: NusaDB::Notification
- Inherits:
-
Struct
- Object
- Struct
- NusaDB::Notification
- Defined in:
- lib/nusadb/connection.rb
Overview
An asynchronous LISTEN/NOTIFY message delivered by the server: the notifying backend's pid, the
channel, and its (possibly empty) payload.
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#pid ⇒ Object
Returns the value of attribute pid.
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel
59 60 61 |
# File 'lib/nusadb/connection.rb', line 59 def channel @channel end |
#payload ⇒ Object
Returns the value of attribute payload
59 60 61 |
# File 'lib/nusadb/connection.rb', line 59 def payload @payload end |
#pid ⇒ Object
Returns the value of attribute pid
59 60 61 |
# File 'lib/nusadb/connection.rb', line 59 def pid @pid end |