01: /*-------------------------------------------------------------------------
02: *
03: * Copyright (c) 2003-2005, PostgreSQL Global Development Group
04: *
05: * IDENTIFICATION
06: * $PostgreSQL: pgjdbc/org/postgresql/PGNotification.java,v 1.11 2005/01/11 08:25:43 jurka Exp $
07: *
08: *-------------------------------------------------------------------------
09: */
10: package org.postgresql;
11:
12: /**
13: * This interface defines the public PostgreSQL extension for Notifications
14: */
15: public interface PGNotification {
16: /**
17: * Returns name of this notification
18: * @since 7.3
19: */
20: public String getName();
21:
22: /**
23: * Returns the process id of the backend process making this notification
24: * @since 7.3
25: */
26: public int getPID();
27:
28: /**
29: * Returns additional information from the notifying process.
30: * Currently, this feature is unimplemented and always returns
31: * an empty String.
32: *
33: * @since 8.0
34: */
35: public String getParameter();
36:
37: }
|