com.infoengine.ebai
Class EBAIAdapterImpl

java.lang.Object
  extended bycom.infoengine.ebai.EBAIAdapterImpl
All Implemented Interfaces:
IeMultithreadedProcessor, IeProcessor

public class EBAIAdapterImpl
extends Object
implements IeMultithreadedProcessor


Field Summary
(package private)  long firstTime
           
(package private)  long initialTime
           
private  com.infoengine.log.LogWriter logWriter
           
protected  StringBuffer scratch
           
private  String svcName
           
 
Constructor Summary
EBAIAdapterImpl()
           
 
Method Summary
static String appendStrings(String str1, String str2, StringBuffer scratch)
           
static String appendStrings(String str1, String str2, String str3, StringBuffer scratch)
           
 void initialize(String serviceName, com.infoengine.log.LogWriter log)
          Initialize the adapter implementation class.
 IeRequest processRequest(Request request)
          Process a request received from the Info*Engine server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

svcName

private String svcName

logWriter

private com.infoengine.log.LogWriter logWriter

initialTime

long initialTime

firstTime

long firstTime

scratch

protected StringBuffer scratch
Constructor Detail

EBAIAdapterImpl

public EBAIAdapterImpl()
Method Detail

initialize

public void initialize(String serviceName,
                       com.infoengine.log.LogWriter log)
Description copied from interface: IeProcessor
Initialize the adapter implementation class.

Specified by:
initialize in interface IeProcessor
Parameters:
serviceName - Logical name defined for this implementation
log - file to write informational and debug messages.

processRequest

public IeRequest processRequest(Request request)
                         throws IEException
Description copied from interface: IeProcessor
Process a request received from the Info*Engine server. This method is called when a adapter request if received on the Info*Engine socket.

Specified by:
processRequest in interface IeProcessor
Parameters:
request - The request to perform
Throws:
IEException

appendStrings

public static String appendStrings(String str1,
                                   String str2,
                                   StringBuffer scratch)

appendStrings

public static String appendStrings(String str1,
                                   String str2,
                                   String str3,
                                   StringBuffer scratch)