public class Notification extends java.lang.Object implements PGNotification
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
m_name |
private java.lang.String |
m_parameter |
private int |
m_pid |
| Constructor and Description |
|---|
Notification(java.lang.String p_name,
int p_pid) |
Notification(java.lang.String p_name,
int p_pid,
java.lang.String p_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 java.lang.String m_name
private java.lang.String m_parameter
private int m_pid
public Notification(java.lang.String p_name,
int p_pid)
public Notification(java.lang.String p_name,
int p_pid,
java.lang.String p_parameter)
public java.lang.String getName()
PGNotificationgetName in interface PGNotificationpublic int getPID()
PGNotificationgetPID in interface PGNotificationpublic java.lang.String getParameter()
PGNotificationgetParameter in interface PGNotification