org.postgresql.core
Class Notification
java.lang.Object
org.postgresql.core.Notification
- All Implemented Interfaces:
- PGNotification
public class Notification
- extends Object
- implements PGNotification
|
Method Summary |
String |
getName()
Returns name of this notification |
String |
getParameter()
Returns additional information from the notifying process. |
int |
getPID()
Returns the process id of the backend process making this notification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Notification
public Notification(String p_name,
int p_pid)
Notification
public Notification(String p_name,
int p_pid,
String p_parameter)
getName
public String getName()
- Description copied from interface:
PGNotification
- Returns name of this notification
- Specified by:
getName in interface PGNotification
getPID
public int getPID()
- Description copied from interface:
PGNotification
- Returns the process id of the backend process making this notification
- Specified by:
getPID in interface PGNotification
getParameter
public String getParameter()
- Description copied from interface:
PGNotification
- Returns additional information from the notifying process.
This feature has only been implemented in server versions 9.0
and later, so previous versions will always return an empty String.
- Specified by:
getParameter in interface PGNotification
Copyright © 2013. All Rights Reserved.