com.infoengine.procunit.gateway
Class GatewayImpl

java.lang.Object
  extended bycom.infoengine.procunit.gateway.GatewayImpl
All Implemented Interfaces:
IeProcessor

public class GatewayImpl
extends Object
implements IeProcessor


Field Summary
private  Netlib adapter
           
private  String adapter_encoding
           
private  String dbHost
           
private  String dbPassword
           
private  int dbPort
           
private  String dbUser
           
private  boolean foldUniqueId
           
private static String ID
           
private  com.infoengine.log.LogWriter logWriter
           
private  String serviceName
           
private  int version
           
 
Constructor Summary
GatewayImpl()
           
 
Method Summary
private  void Connect(Webject webject)
           
private  Group getInputGroup(Task task)
           
private static String ident()
           
 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  void returnBlob(Group group, IeMultipartOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

private static final String ID
See Also:
Constant Field Values

adapter

private Netlib adapter

dbHost

private String dbHost

dbPort

private int dbPort

dbUser

private String dbUser

dbPassword

private String dbPassword

logWriter

private com.infoengine.log.LogWriter logWriter

serviceName

private String serviceName

version

private int version

adapter_encoding

private String adapter_encoding

foldUniqueId

private boolean foldUniqueId
Constructor Detail

GatewayImpl

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

ident

private static String ident()

Connect

private void Connect(Webject webject)
              throws IOException
Throws:
IOException

getInputGroup

private Group getInputGroup(Task task)
                     throws IEException
Throws:
IEException

returnBlob

private void returnBlob(Group group,
                        IeMultipartOutputStream out)
                 throws IEException
Throws:
IEException