JavaPhoenixClient
/
org.phoenixframework
/
Message
Message
class
Message
(ref:
String
, topic:
String
, event:
String
, payload:
Payload
, joinRef:
String
?)
Content copied to clipboard
Properties
Properties
event
Link copied to clipboard
@
SerializedName
(
value =
event
)
val
event
:
String
Content copied to clipboard
The message event name, for example "phx_join" or any other custom name
joinRef
Link copied to clipboard
@
SerializedName
(
value =
join_ref
)
val
joinRef
:
String
? = null
Content copied to clipboard
The ref sent during a join event.
payload
Link copied to clipboard
@
SerializedName
(
value =
payload
)
val
payload
:
Payload
Content copied to clipboard
The payload of the message
ref
Link copied to clipboard
@
SerializedName
(
value =
ref
)
val
ref
:
String
Content copied to clipboard
The unique string ref.
status
Link copied to clipboard
val
status
:
String
?
Content copied to clipboard
Convenience var to access the message's payload's status.
topic
Link copied to clipboard
@
SerializedName
(
value =
topic
)
val
topic
:
String
Content copied to clipboard
The message topic