com.infoengine.pda
Class PdaAdapterImpl

java.lang.Object
  extended bycom.infoengine.pda.PdaAdapterImpl
All Implemented Interfaces:
IeMultithreadedProcessor, IeProcessor

public class PdaAdapterImpl
extends Object
implements IeMultithreadedProcessor


Field Summary
private  com.infoengine.log.LogWriter logWriter
           
private  String serviceName
           
 
Constructor Summary
PdaAdapterImpl()
           
 
Method Summary
 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.
private  String toClassName(String oldstring)
          Converts the request to the classname syntax.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logWriter

private com.infoengine.log.LogWriter logWriter

serviceName

private String serviceName
Constructor Detail

PdaAdapterImpl

public PdaAdapterImpl()
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

toClassName

private String toClassName(String oldstring)
Converts the request to the classname syntax.

Parameters:
oldstring - The request in original form
Returns:
The request in the converted form