public class PgNotification extends Object
Constructor and Description |
---|
PgNotification() |
PgNotification(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
String |
getChannel() |
String |
getPayload() |
int |
getProcessId() |
PgNotification |
setChannel(String channel)
Set the channel value.
|
PgNotification |
setPayload(String payload)
Set the payload value.
|
PgNotification |
setProcessId(int processId)
Set the process id.
|
JsonObject |
toJson() |
public PgNotification()
public PgNotification(JsonObject json)
public int getProcessId()
public PgNotification setProcessId(int processId)
public String getChannel()
public PgNotification setChannel(String channel)
public String getPayload()
public PgNotification setPayload(String payload)
public JsonObject toJson()
Copyright © 2022 Eclipse. All rights reserved.