LDAP Classes
Implements Java LDAP

com.novell.ldap.events.edir.eventdata
Class NetworkAddressEventData

java.lang.Object
  extended bycom.novell.ldap.events.edir.eventdata.NetworkAddressEventData
All Implemented Interfaces:
EventResponseData

public class NetworkAddressEventData
extends java.lang.Object
implements EventResponseData

This class represents the data for Network Address Events. The event data has the following encoding:-

NetworkAddress ::=[APPLICATION 8]
    SEQUENCE {
    type INTEGER,
    data OCTET STRING
    }

Note: Please refer the JLDAP SDK Documentation at http://developer.novell.com/ndk/jldap.htm for details of all the properties.


Constructor Summary
NetworkAddressEventData(ASN1Object message)
          Default Constructor
 
Method Summary
 java.lang.String getData()
          Returns the Address as a Data.
 int getType()
          Returns the Address Type.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkAddressEventData

public NetworkAddressEventData(ASN1Object message)
                        throws java.io.IOException
Default Constructor

Parameters:
message - ASN1Object containing the encoded data as String.
Throws:
java.io.IOException - When decoding of message fails.
Method Detail

getData

public java.lang.String getData()
Returns the Address as a Data.

Returns:
Address as String.

getType

public int getType()
Returns the Address Type.

Returns:
Type as int.

toString

public java.lang.String toString()
Returns a string representation of the object.

Returns:
a string representation of the object.
See Also:
Object.toString()

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000