org.pfsw.tools.beluga.ldap.server
Class Transaction

java.lang.Object
  extended by org.pfsw.tools.beluga.ldap.server.Transaction

public class Transaction
extends Object

An instance of this class contains all objects that are necessary to execute one requested LDAP transaction (e.g. bind, search). That means it is a container for the request message, the response message(s) and the comminication channel.

Version:
1.0
Author:
Manfred Duchrow

Constructor Summary
Transaction(CommunicationChannel commChannel)
          Initialize the new instance with a communication channel.
Transaction(CommunicationChannel commChannel, RequestMessage request)
          Initialize the new instance with a communication channel.
 
Method Summary
 SearchResponse[] getSearchResult()
           
 void setSearchResult(SearchResponse[] newValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transaction

public Transaction(CommunicationChannel commChannel)
Initialize the new instance with a communication channel.

Parameters:
commChannel - The channel to communicate with the client

Transaction

public Transaction(CommunicationChannel commChannel,
                   RequestMessage request)
Initialize the new instance with a communication channel.

Parameters:
commChannel - The channel to communicate with the client
request - The request from the client to be processed in this transaction
Method Detail

getSearchResult

public SearchResponse[] getSearchResult()

setSearchResult

public void setSearchResult(SearchResponse[] newValue)


Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.