public class Notification extends java.lang.Object implements PGNotification
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private java.lang.String |
parameter |
private int |
pid |
Constructor and Description |
---|
Notification(java.lang.String name,
int pid) |
Notification(java.lang.String name,
int pid,
java.lang.String parameter) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns name of this notification.
|
java.lang.String |
getParameter()
Returns additional information from the notifying process.
|
int |
getPID()
Returns the process id of the backend process making this notification.
|
private final java.lang.String name
private final java.lang.String parameter
private final int pid
public Notification(java.lang.String name, int pid)
public Notification(java.lang.String name, int pid, java.lang.String parameter)
public java.lang.String getName()
PGNotification
getName
in interface PGNotification
public int getPID()
PGNotification
getPID
in interface PGNotification
public java.lang.String getParameter()
PGNotification
getParameter
in interface PGNotification