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()
PGNotificationgetName in interface PGNotificationpublic int getPID()
PGNotificationgetPID in interface PGNotificationpublic java.lang.String getParameter()
PGNotificationgetParameter in interface PGNotification