|
Last change
on this file since 1113 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
830 bytes
|
| Line | |
|---|
| 1 | /* Copyright (C) 2001 Free Software Foundation
|
|---|
| 2 |
|
|---|
| 3 | This file is part of libgcj.
|
|---|
| 4 |
|
|---|
| 5 | This software is copyrighted work licensed under the terms of the
|
|---|
| 6 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|---|
| 7 | details. */
|
|---|
| 8 |
|
|---|
| 9 | package javax.naming.ldap;
|
|---|
| 10 | import java.util.EventObject;
|
|---|
| 11 |
|
|---|
| 12 | /**
|
|---|
| 13 | * @author Warren Levy <[email protected]>
|
|---|
| 14 | * @date June 5, 2001
|
|---|
| 15 | */
|
|---|
| 16 |
|
|---|
| 17 | public class UnsolicitedNotificationEvent extends EventObject
|
|---|
| 18 | {
|
|---|
| 19 | // Serialized fields.
|
|---|
| 20 | private UnsolicitedNotification notice;
|
|---|
| 21 |
|
|---|
| 22 | public UnsolicitedNotificationEvent(Object src,
|
|---|
| 23 | UnsolicitedNotification notice)
|
|---|
| 24 | {
|
|---|
| 25 | super(src);
|
|---|
| 26 | this.notice = notice;
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| 29 | public UnsolicitedNotification getNotification()
|
|---|
| 30 | {
|
|---|
| 31 | return notice;
|
|---|
| 32 | }
|
|---|
| 33 |
|
|---|
| 34 | public void dispatch(UnsolicitedNotificationListener listener)
|
|---|
| 35 | {
|
|---|
| 36 | listener.notificationReceived(this);
|
|---|
| 37 | }
|
|---|
| 38 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.