Compiere 3.1

org.compiere.ldap
Class LdapResult

java.lang.Object
  extended by org.compiere.ldap.LdapResult

public class LdapResult
extends Object

Ldap Wire Response

Version:
$Id: LdapResult.java,v 1.1 2006/10/09 00:23:16 jjanke Exp $
Author:
Jorg Janke

Constructor Summary
LdapResult()
           
 
Method Summary
 boolean getDone()
           
 int getErrorNo()
          Get the error No
 byte[] getResult(MLdapProcessor model, String remoteHost, String remoteAddr)
          Get the response according to the request message
 void reset(LdapMessage LdapMsg, MLdapUser LdapUser)
           
 void setErrorNo(int errNo)
          Set the error No
 void setErrorString(String errStr)
          Set the error String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapResult

public LdapResult()
Method Detail

reset

public void reset(LdapMessage LdapMsg,
                  MLdapUser LdapUser)

getResult

public byte[] getResult(MLdapProcessor model,
                        String remoteHost,
                        String remoteAddr)
Get the response according to the request message

Parameters:
model - model
remoteHost - remote host name
remoteAddr - remote host ip address
Returns:
reponse

getDone

public boolean getDone()

setErrorNo

public void setErrorNo(int errNo)
Set the error No

Parameters:
errNo - Error Number

getErrorNo

public int getErrorNo()
Get the error No

Returns:
errNo Error Number

setErrorString

public void setErrorString(String errStr)
Set the error String

Parameters:
errStr - Error String

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.