=head1 NAME Net::LDAP::Message - Message response from LDAP server =head1 SYNOPSIS use Net::LDAP; =head1 DESCRIPTION B is a base class for the objects returned by the L methods L, L, L, L, L, L, L, L and L. The sub-class L returned by L also defines many methods. If the L object is in async mode then all these methods, except C, will cause a wait until the request is completed. =head1 METHODS =over 4 =item code The code value in the result message from the server. Normally for a success zero will be returned. Constants for the result codes can be imported from the L or L module. =item control [ OID ] Return a list of controls returned from the server. If OID is given then only controls with type equal to OID will be returned. =item dn The DN in the result message from the server. =item done Returns I if the request has been completed. =item error The error message in the result message from the server. If the server did not include an error message, then the result of L with the error code from the result message. =item is_error Returns I if the result code is considered to be an error for the operation. =item mesg_id The message id of the request message sent to the server. =item referrals Returns a list of referrals from the result message. =item server_error The error message returned by the server, or undef if the server did not provide a message. =item sync Wait for the server to complete the request. =back =head1 SEE ALSO L, L, L, L =head1 ACKNOWLEDGEMENTS This document is based on a document originally written by Russell Fulton . =head1 AUTHOR Graham Barr Please report any bugs, or post any suggestions, to the perl-ldap mailing list . =head1 COPYRIGHT Copyright (c) 1997-2000 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =for html
I<$Id$> =cut