javax.management.remote.message
Class NotificationResponseMessage

java.lang.Object
  extended by javax.management.remote.message.NotificationResponseMessage
All Implemented Interfaces:
Serializable, Message

public class NotificationResponseMessage
extends Object
implements Message

Message that transports one or more notifications emitted from an MBean server through a connector server to listeners in a remote client.

This message is sent from a server to a client in response to a previous NotificationRequestMessage from the client.

See Also:
Serialized Form

Constructor Summary
NotificationResponseMessage(Object wrappedNotificationResult)
          Constructs a NotificationResponseMessage object.
 
Method Summary
 Object getWrappedNotificationResult()
          Returns the notification result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationResponseMessage

public NotificationResponseMessage(Object wrappedNotificationResult)

Constructs a NotificationResponseMessage object.

Parameters:
wrappedNotificationResult - notifications returned to the caller. This is a NotificationResult object wrapped using the ObjectWrapping for the connection using this message.
Throws:
NullPointerException - if wrappedNotificationResult is null.
Method Detail

getWrappedNotificationResult

public Object getWrappedNotificationResult()
Returns the notification result.

Returns:
an object that wraps a NotificationResult using the ObjectWrapping for the connection using this message.

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.