|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface UnsolicitedNotificationListener
此接口用于处理 UnsolicitedNotificationEvent。“未经请求的通知”在 RFC 2251 中定义。它允许服务器将未经请求的通知发送到客户端。UnsolicitedNotificationListener 必须:
UnsolicitedNotificationEvent,
UnsolicitedNotification,
EventContext.addNamingListener(javax.naming.Name, int, javax.naming.event.NamingListener),
EventDirContext.addNamingListener(javax.naming.Name, java.lang.String, javax.naming.directory.SearchControls, javax.naming.event.NamingListener),
EventContext.removeNamingListener(javax.naming.event.NamingListener)| 方法摘要 | |
|---|---|
void |
notificationReceived(UnsolicitedNotificationEvent evt)
当收到了未经请求的通知时调用。 |
| 从接口 javax.naming.event.NamingListener 继承的方法 |
|---|
namingExceptionThrown |
| 方法详细信息 |
|---|
void notificationReceived(UnsolicitedNotificationEvent evt)
evt - 非 null UnsolicitedNotificationEvent
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。